صحيح مسلم
From Sahih Muslim (Hadith 2191):
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
Reference: Muslim 2191