Anas bin Malik reported,

The Prophet of Allah ﷺ said, "When a servant is placed in his grave and his companions turn away from him, he hears the sound of their sandals. Two angels come to him, sit him up, and ask him, 'What did you used to say about this man?'As for the believer, he replies, 'I bear witness that he is the servant of Allah and His Messenger.' He is then told, 'Look at your seat in the Fire. Allah has exchanged it for you with a seat in Paradise.'"The Prophet of Allah ﷺ said, "He sees both of them."Qatada said, "It was mentioned to us that his grave is expanded for him seventy cubits and filled with greenery until the Day they are resurrected."

Muslim 7216

Sahih

حدثنا عبد بن حميد حدثنا يونس بن محمد حدثنا شيبان بن عبد الرحمن عن قتادة

حدثنا أنس بن مالك قال

قال نبي الله ﷺ إن العبد إذا وضع في قبره وتولى عنه أصحابه إنه ليسمع قرع نعالهم قال يأتيه ملكان فيقعدانه فيقولان له ما كنت تقول في هذا الرجل قال فأما المؤمن فيقول أشهد أنه عبد الله ورسوله قال فيقال له انظر إلى مقعدك من النار قد أبدلك الله به مقعدا من الجنة قال نبي الله ﷺ فيراهما جميعا قال قتادة وذكر لنا أنه يفسح له في قبره سبعون ذراعا ويملأ عليه خضرا إلى يوم يبعثون

مسلم 7216صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Paradise and the description of its bliss and its people
Chapter
Presenting the deceased's seat in Paradise or Hell to them, and affirming the punishment of the grave and seeking refuge from it
Numbering
Darussalam 7216
Muslim 7216