Abu Hurairah reported,

The Messenger of Allah ﷺ said, "When the deceased is buried (or he said, when one of you is buried), two black and blue angels come to him. One is called Munkar and the other Nakir.They ask him, 'What did you used to say about this man?'He answers as he used to say, 'He is the servant of Allah and His Messenger. I bear witness that there is no god but Allah and that Muhammad is His servant and Messenger.'They say, 'We already knew that you would say this.'Then his grave is expanded for him to seventy cubits by seventy, and it is filled with light for him. Then he is told, 'Sleep.'He says, 'May I return to my family and tell them?'They say, 'Sleep like the sleep of a bridegroom whom none but the dearest of his family would wake,' until Allah raises him from that resting place.But if he was a hypocrite, he says, 'I heard people saying something, so I said the same. I do not know.'They say, 'We already knew that you would say that.'Then the earth is told, 'Close in upon him.' So it closes in upon him until his ribs interlock, and he remains tormented within it until Allah raises him from that resting place."

Azami 3868

Hasan

عن أبي هريرة قال

قال رسول الله ﷺ: إذا قبر الميت (أو قال أحدكم) أتاه ملكان أسودان أزرقان، يقال لأحدهما: المنكر والآخر النكير، فيقولان: ما كنت تقول في هذا الرجل؟ فيقول ما كان يقول: هو عبد الله ورسوله، أشهد أن لا إله إلا الله وأن محمدا عبده ورسوله، فيقولان: قد كنا نعلم أنك تقول هذا، ثم يفسح له في قبره سبعون ذراعا في سبعين، ثم ينور له فيه، ثم يقال له: نم، فيقول أرجع إلى أهلي فأخبرهم؟ فيقولان: نم كنومة العروس الذي لا يوقظه إلا أحب أهله إليه، حتى يبعثه الله من مضجعه ذلك. وإن كان منافقا قال: سمعت الناس يقولون فقلت مثله، لا أدري، فيقولان: قد كنا نعلم أنك تقول ذلك، فيقال للأرض: التئمي عليه. فيلتئم عليه. فتختلف أضلاعه، فلا يزال فيها معذبا حتى يبعثه الله من مضجعه ذلك.

الأعظمي 3868حسن
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Funerals
Chapter
Conditions of the deceased in the grave
Section
Believer and the disbeliever are both questioned, and the people of the graves are shown their seats twice every day
Numbering
Jami al-Kamil 3868 (2nd edition)
Azami 3868