The Prophet ﷺ said, "When a servant is placed in his grave and his companions turn away from him, he hears the sound of their sandals."
أخبرنا أحمد بن أبي عبيد الله الوراق قال حدثنا يزيد بن زريع عن سعيد عن قتادة
أن النبي ﷺ قال إن العبد إذا وضع في قبره وتولى عنه أصحابه إنه ليسمع قرع نعالهم
Bukhari, Funerals, Chapter on the dead person hearing the tapping of sandals, no. 1338, and Muslim, Paradise and its Bliss, Chapter on presenting the deceased's seat from Paradise or Hell to him, etc., no. 71/2870, from the hadith of Yazid bin Zuray, and it is in Kubra, no. 2176.