Sunan Ibn Majah, Volume 2, Book 6, Hadith 1578 (DarusSalam) ⓘ
It was narrated that ‘Ali said: “The Messenger of Allah went out and saw some women sitting, and he said: ‘What are you sitting here for?’ They said: ‘We are waiting for the funeral.’ He said: ‘Are you going to wash the deceased?’ They said: ‘No.’ He said: ‘Are you going to lower him into the grave?’ They said: ‘No.’ He said: ‘Then go back with a burden of sin and not rewarded.’”
حَدَّثَنَا مُحَمَّدُ بْنُ الْمُصَفَّى الْحِمْصِيُّ، حَدَّثَنَا أَحْمَدُ بْنُ خَالِدٍ، حَدَّثَنَا إِسْرَائِيلُ، عَنْ إِسْمَاعِيلَ بْنِ سَلْمَانَ، عَنْ دِينَارٍ أَبِي عُمَرَ، عَنِ ابْنِ الْحَنَفِيَّةِ، عَنْ عَلِيٍّ، قَالَ خَرَجَ رَسُولُ اللَّهِ ـ صلى الله عليه وسلم ـ فَإِذَا نِسْوَةٌ جُلُوسٌ فَقَالَ " مَا يُجْلِسُكُنَّ " . قُلْنَ نَنْتَظِرُ الْجِنَازَةَ . قَالَ " هَلْ تَغْسِلْنَ " . قُلْنَ لاَ . قَالَ " هَلْ تَحْمِلْنَ " . قُلْنَ لاَ . قَالَ " هَلْ تُدْلِينَ فِيمَنْ يُدْلِي " . قُلْنَ لاَ . قَالَ " فَارْجِعْنَ مَأْزُورَاتٍ غَيْرَ مَأْجُورَاتٍ " .
also referenced under: Hadith 1578 (Reference) & Book 6, Hadith 1645 (In-Book)