Sahih Muslim, Book 53, Hadith 87 (Muslim 7130)

Anas b. Malik reported that Allah's Apostle (ﷺ) said:

When the servant is placed in his grave and his friends retrace their steps. The rest of the hadith is the same as transmitted by Qatada.