صحيح مسلم
From Sahih Muslim (Hadith 2166):
Umm 'Atiyya reported:We were forbidden to follow the bier, but it was not made absolute on us
Reference: Muslim 2166