It is narrated from Ali bin Rabi'ah al-Asadi (may Allah have mercy on him) that I saw Sayyiduna Ali (may Allah be pleased with him) when a mount was brought to him. When he put his foot in the stirrup, he said 'Bismillah' (In the name of Allah). Then when he had settled upright on its back, he said 'Al-hamdu lillah' (All praise is for Allah). Then he recited this verse: "Glory be to the One who has subjected this to us, though we were not able to control it, and indeed to our Lord we shall surely return." Then he said Allahu akbar three times, then recited this supplication: 'Subhanaka inni zalamtu nafsi faghfir li innahu la yaghfiru al-dhunuba illa anta' (Glory be to You, O Allah; indeed I have wronged myself, so forgive me, for none forgives sins but You). After this he smiled, so I said: Why did you smile? He said: "Indeed the Messenger of Allah (peace and blessings be upon him) also did one day just as I have done, then he (peace and blessings be upon him) smiled, so I said: O Messenger of Allah (peace and blessings be upon him), at what did you smile? He (peace and blessings be upon him) said: 'Our Lord marvels (in a manner befitting His majesty, without asking how) at His servant's saying: "Subhanaka inni zalamtu nafsi faghfir li innahu la yaghfiru al-dhunuba illa anta" (Glory be to You; indeed I have wronged myself, so forgive me, for none forgives sins but You), and Allah Almighty says: "My servant has come to know that he has a Lord who forgives sins."'"
Hadith Referenceمسند أبي يعلى الموصلي / مسند علي بن أبي طالب رضي الله عنه / 586
Hadith Gradingمحدثین:رجاله ثقات
Hadith Takhrij«حکم الحدیث مسند ابی یعلی محققاً تنسیق حسين سليم أسد - مکتبہ شاملہ :قال حسين سليم أسد: رجاله ثقات . » «قال سعيد بن محمد السناري: صحيح» «أخرجه سنن الترمذي برقم: 3446، وأخرجه سنن أبي داود برقم: 2602، وأخرجه مسند أحمد برقم: 755، وأخرجه مسند البزار برقم: 773، وأخرجه مصنف عبد الرزاق برقم: 19480، وأخرجه المستدرك على الصحيحين برقم: 2527، وأخرجه المعجم الأوسط للطبراني برقم: 177، وأخرجه صحيح ابن حبان برقم: 2697، مسند ابویعلیٰ ترقیم الاثری: 581»