It is narrated from Ali bin Rabi'ah, the student of Sayyiduna Ali (may Allah be pleased with him): "Sayyiduna Ali (may Allah be pleased with him) seated me behind him on his mount, then took me along towards the graveyard, then said: The Messenger of Allah (peace and blessings be upon him) seated me behind him on his mount, then took me along to one side of the Harrah. Then he (peace and blessings be upon him) raised his blessed head and made this supplication: 'Allahumma ighfir li dhunubi, fa-innahu la yaghfiru al-dhunuba illa ant' (O Allah, forgive my sins, for none can forgive sins except You). Then he (peace and blessings be upon him) turned towards me and smiled. I said: 'O Messenger of Allah! Your seeking forgiveness from your Lord and then turning to me and smiling (what is the reason)?' He (peace and blessings be upon him) said: 'I smiled because of my Lord's pleasure, for He shows His pleasure with that servant of His who knows that there is none besides Him who forgives sins.'" Imam al-Busiri says that Imam Abu Dawud and Imam al-Tirmidhi recorded only that part of this hadith which mentions the supplication 'Allahumma ighfir li dhunubi' and did not mention the rest of the story; they related this narration through the route of Abu Ishaq from Ali bin Rabi'ah himself.
Hadith Gradingمحدثین:سكت عنه البوصيري، إسناده ضعيف؛ لضعف إسماعيل بن عبد الملك، وأصل الدعاء عند أبي داود والترمذي
Hadith Takhrij«إسماعيل بن عبد الملك بن أبي الصفيراء: صدوق كثير الوهم (التقريب، من الحفظ)؛ وقد رواه أبو إسحاق عن علي بن ربيعة عند أبي داود والترمذي» «أخرجه مصنف ابن أبي شيبة برقم: 12، وأخرجه مسند البزار برقم: 771، وأخرجه المطالب العالية بزوائد المسانيد الثمانية برقم: 3259»