BAYHAQI 7217:
from Anas b. Mālik —
[Machine] Narrated by Muhammad ibn Abdullah al-Hafiz, Abu al-Fadl al-Hasan ibn Ya'qub al-Adl, Yahya ibn Abi Talib, Abd al-Wahhab ibn Ata, Sa'eed ibn Qatadah, and Anas ibn Malik that the Prophet of Allah ﷺ said, "When the servant is placed in his grave and his companions turn away from him, he hears the noise of their sandals. Then two angels come to him and ask, 'What did you say about this man, Muhammad ﷺ?' The believer says, 'I bear witness that he is the servant of Allah and His Messenger.' They say to him, 'Look at your place in the Fire, for Allah has replaced it with a place in Paradise.' He then sees both places."
البيهقي ٧٢١٧:
عن انس بن مالك —
عَنِ النَّبِيِّ ﷺ مَا أَخْبَرَنَا مُحَمَّدُ بْنُ عَبْدِ اللهِ الْحَافِظُ أنبأ أَبُو الْفَضْلِ الْحَسَنُ بْنُ يَعْقُوبَ الْعَدْلُ ثنا يَحْيَى بْنُ أَبِي طَالِبٍ ثنا عَبْدُ الْوَهَّابِ يَعْنِي ابْنَ عَطَاءٍ عَنْ سَعِيدٍ عَنْ قَتَادَةَ عَنْ أَنَسِ بْنِ مَالِكٍ أَنَّ نَبِيَّ اللهِ ﷺ قَالَ إِنَّ الْعَبْدَ إِذَا وُضِعَ فِي قَبْرِهِ وَتَوَلَّى عَنْهُ أَصْحَابُهُ إِنَّهُ لَيَسْمَعُ قَرْعَ نِعَالِهِمْ يَأْتِيهِ مَلَكَانِ فَيَقُولَانِ مَا كُنْتَ تَقُولُ فِي هَذَا الرَّجُلِ يَعْنِي مُحَمَّدًا ﷺ قَالَ فَأَمَّا الْمُؤْمِنُ فَيَقُولُ آمَنْتُ أَنَّهُ عَبْدُ اللهِ وَرَسُولُهُ فَيُقَالُ لَهُ انْظُرْ إِلَى مَقْعَدِكَ فِي النَّارِ قَدْ أَبْدَلَكَ اللهُ مَقْعَدًا فِي الْجَنَّةِ فَيَرَاهُمَا جَمِيعًا
hadithunlocked.com