We were with the Messenger of Allah ﷺ when he laughed and said, "Do you know what makes me laugh?"We said, "Allah and His Messenger know best."He said, "It is the conversation a servant will have with 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 one from my own self.'The Lord will say, 'Your own self is sufficient as a witness against you today, and the noble scribes as witnesses.'Then his mouth will be sealed, and his limbs will be told, 'Speak.' So they will speak of his deeds. Then he will be allowed to speak again, and he will say to his limbs, 'Away with you and ruin to you. It was on your behalf that I was contending.'"
كنا عند رسول الله ﷺ، فضحك، فقال: هل تدرون مم أضحك؟ قال: قلنا الله ورسوله أعلم. قال: من مخاطبة العبد ربه. يقول: يا رب، ألم تجرني من الظلم؟ قال: يقول: بلى قال: فيقول: فإني لا أجيز على نفسي إلا شاهدا مني. قال فيقول: كفى بنفسك اليوم عليك شهيدا وبالكرام الكاتبين شهودا، قال: فيختم على فيه، فيقال لأركانه: انطقي. قال: فتنطق بأعماله، قال: ثم يخلى بينه وبين الكلام، قال: فيقول: بعدا لكن وسحقا. فعنكن كنت أناضل.
Muslim narrated it in Kitab az-Zuhd wal-Raqaiq (2969) from Abu Bakr bin Nadr, from Abu Nadr, Abu Nadr Hashim bin Qasim told me, Ubaydullah Ashjai told us, from Thawri, from Ubayd Muktib, from Fudayl, from Shaybi, from Anas bin Malik, and he related it.