(17) بَاب عَرْضِ مَقْعَدِ الْمَيِّتِ مِنْ الْجَنَّةِ أَوْ النَّارِ عَلَيْهِ وَإِثْبَاتِ عَذَابِ الْقَبْرِ وَالتَّعَوُّذِ مِنْهُ
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: Sahih Muslim 2870 b
In-book reference: Book 53, Hadith 86
USC-MSA web (English) reference(deprecated numbering scheme): Book 40, Hadith 6863