Ali bin Rabia reported,

Ali, may Allah be pleased with him, seated me behind him on his mount and rode out to the outskirts of Kufa. Then he raised his head toward the sky and said, "There is no god but You, glory be to You, I have indeed been among the wrongdoers" [Anbiya 21:87], so forgive me.Then he turned to me and laughed, and said, "Will you not ask me why I laughed?"I said, "Why did you laugh, Commander of the Faithful?"He said, "The Messenger of Allah ﷺ once seated me behind him on his mount and rode out with me to the lava plain of Madinah. Then he raised his head toward the sky and said, 'There is no god but You, glory be to You, I have indeed been among the wrongdoers', so forgive me. Then he turned to me and laughed, and said, 'Will you not ask me why I laughed?'I said, 'Why did you laugh, Messenger of Allah?'He said, 'I laughed because my Lord laughed, marveling at His servant, knowing as he does that none but Him forgives sins.'"

Azami 378

Hasan

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

أردفني علي رضوان الله عليه خلفه، ثم خرج إلى ظهر الكوفة، ثم رفع رأسه إلى السماء، فقال: {لا إله إلا أنت سبحانك إني كنت من الظالمين} [سورة الأنبياء: ٨٧] فاغفر لي. قال: ثم التفت إلي فضحك، فقال: ألا تسألني مم ضحكت؟ قال: قلت: مم ضحكت يا أمير المؤمنين؟ قال: أردفني رسول الله ﷺ خلفه، ثم خرج بي إلى حرة المدينة، ثم رفع رأسه إلى السماء، فقال: {لا إله إلا أنت سبحانك إني كنت من الظالمين} فاغفر لي. ثم التفت إلي فضحك. فقال: ألا تسألني مم ضحكت؟ قال: قلت: مم ضحكت يا رسول الله؟ قال: ضحكت من ضحك ربي وتعجبه من عبده؛ أنه يعلم أنه لا يغفر الذنوب غيره.

الأعظمي 378حسن
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Faith
Chapter
Faith in Allah عز وجل
Section
Laughter
Numbering
Jami al-Kamil 378 (2nd edition)
Azami 378