Anas bin Malik reported,

We were with the Messenger of Allah ﷺ when he laughed and asked, "Do you know what makes me laugh?"We replied, "Allah and His Messenger know best."He said, "It is the way a servant addresses his Lord. He will say, 'My Lord, did You not protect me from injustice?'The Lord will reply, 'Indeed I did.'The servant will say, 'I will not accept any witness against myself except from myself.'The Lord will say, 'Your own self suffices today as a witness against you, along with the noble recording angels as witnesses.'Then his mouth will be sealed, and his limbs will be told, 'Speak.' So they will speak of his deeds. Afterwards he will be allowed to speak again, and he will say to his limbs, 'Away with you, may you perish. It was on your behalf that I was contending.'"

Azami 16209

Sahih

عن أنس بن مالك قال

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

الأعظمي 16209صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Description of the Resurrection and its terrors
Chapter
Major signs of the Hour
Section
What the limbs of man will testify to on the Day of Resurrection
Numbering
Jami al-Kamil 16209 (2nd edition)
Azami 16209