صحيح مسلم
From Sahih Muslim (Hadith 7217):
Anas b. Malik reported that Allah's Messenger (ﷺ) said:When the dead body. is placed in the grave, he listens to the sound of the shoes (as his friends and relatives return after burying him)
Reference: Muslim 7217