Sunan Abi Dawud, Hadith 3167

Narrated Abu Sa’id Al Khudri : The Messenger of Allah as saying: When you follow a funeral, do not sit until the bier is placed (on the ground). Abu Dawud said: This tradition has been narrated by al-Thawri (i.e. Sufyan) from Suhail, from his father on the authority of Abu Hurairah. This version has: until it (the bier) is placed on the ground. It has also been narrated by Abu Mu'wiyah from Suhail. This has: Until it is placed in the grave. Abu Dawud said: Sufyan's version is more guarded than that of Abu Mu'awiyah.

حَدَّثَنَا أَحْمَدُ بْنُ يُونُسَ، حَدَّثَنَا زُهَيْرٌ، حَدَّثَنَا سُهَيْلُ بْنُ أَبِي صَالِحٍ، عَنِ ابْنِ أَبِي سَعِيدٍ الْخُدْرِيِّ، عَنْ أَبِيهِ، قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏ "‏ إِذَا تَبِعْتُمُ الْجَنَازَةَ فَلاَ تَجْلِسُوا حَتَّى تُوضَعَ ‏" ‏ ‏.‏ قَالَ أَبُو دَاوُدَ رَوَى هَذَا الْحَدِيثَ الثَّوْرِيُّ عَنْ سُهَيْلٍ عَنْ أَبِيهِ عَنْ أَبِي هُرَيْرَةَ قَالَ فِيهِ حَتَّى تُوضَعَ بِالأَرْضِ وَرَوَاهُ أَبُو مُعَاوِيَةَ عَنْ سُهَيْلٍ قَالَ حَتَّى تُوضَعَ فِي اللَّحْدِ ‏.‏ قَالَ أَبُو دَاوُدَ وَسُفْيَانُ أَحْفَظُ مِنْ أَبِي مُعَاوِيَةَ ‏.‏

sunnah.com

also referenced under: Hadith 3173 (DarusSalam)