Hadithcore
Sahih Muslim, 945 c
sahih

This hadith is narrated on thp authority of Abu Huraira through another chain of transmitters (with these words):

" He who followed it (the bier) till he (the dead) is buried."

وَحَدَّثَنِي عَبْدُ الْمَلِكِ بْنُ شُعَيْبِ بْنِ اللَّيْثِ، حَدَّثَنِي أَبِي، عَنْ جَدِّي، قَالَ حَدَّثَنِي عُقَيْلُ، بْنُ خَالِدٍ عَنِ ابْنِ شِهَابٍ، أَنَّهُ قَالَ حَدَّثَنِي رِجَالٌ، عَنْ أَبِي هُرَيْرَةَ، عَنِ النَّبِيِّ صلى الله عليه وسلم ‏.‏ بِمِثْلِ حَدِيثِ مَعْمَرٍ وَقَالَ ‏

‏ وَمَنِ اتَّبَعَهَا حَتَّى تُدْفَنَ ‏

‏ ‏.‏

References2 variants
In-Book Reference
Book 11, Hadith 69
USC-MSA web (English) reference
Book 4, Hadith 2064 (deprecated numbering scheme)