Hadithcore
Sahih al-Bukhari, 834
sahih

Narrated Abu Bakr As-Siddiq:

I asked Allah's Messenger (ﷺ) to teach me an invocation so that I may invoke Allah with it in my prayer. He told me to say, "Allahumma inni zalumtu nafsi zulman kathiran, Wala yaghfiru dh-dhunuba illa anta, fa ghfir li maghfiratan min `indika, wa r-hamni, innaka anta l-ghafuru r-rahim (O Allah! I have done great injustice to myself and none except You forgives sins, so bestow on me a forgiveness from You, and Have Mercy on me, You are the Forgiver, the Merciful).

حَدَّثَنَا قُتَيْبَةُ بْنُ سَعِيدٍ، قَالَ حَدَّثَنَا اللَّيْثُ، عَنْ يَزِيدَ بْنِ أَبِي حَبِيبٍ، عَنْ أَبِي الْخَيْرِ، عَنْ عَبْدِ اللَّهِ بْنِ عَمْرٍو، عَنْ أَبِي بَكْرٍ الصِّدِّيقِ ـ رضى الله عنه ـ‏.‏ أَنَّهُ قَالَ لِرَسُولِ اللَّهِ صلى الله عليه وسلم عَلِّمْنِي دُعَاءً أَدْعُو بِهِ فِي صَلاَتِي‏.‏ قَالَ ‏

‏ قُلِ اللَّهُمَّ إِنِّي ظَلَمْتُ نَفْسِي ظُلْمًا كَثِيرًا وَلاَ يَغْفِرُ الذُّنُوبَ إِلاَّ أَنْتَ، فَاغْفِرْ لِي مَغْفِرَةً مِنْ عِنْدِكَ، وَارْحَمْنِي إِنَّكَ أَنْتَ الْغَفُورُ الرَّحِيمُ ‏

‏‏.‏

References2 variants
In-Book Reference
Book 10, Hadith 227
USC-MSA web (English) reference
Vol. 1, Book 12, Hadith 796 (deprecated numbering scheme)
Sharh · explanationclick to expand
No one can avoid falling short in his duty to Allah (may He be glorified and exalted) and committing some sins. In this hadith, we see a concise supplication that the Prophet (blessings and peace of Allah be upon him) taught to Abu Bakr al-Siddiq (may Allah be pleased with him) when he asked him to teach him a supplication that he could offer in his prayer. What appears to be the case is that he wanted something that he could say following the final tashahhud and sending blessings on the Prophet (blessings and peace of Allah be upon him). The Prophet (blessings and peace of Allah be upon him) said to him: Say: “Allahummainnizalamtunafsizulmankathiran (O Allah, indeed I have wronged myself greatly),” by committing sins and falling short in my duty to Allah (may He be exalted). “wa la yaghfirul-dhunubailla anta (and no one forgives sins except You)” – and this is an admission of sin and an acknowledgement that sin is the action of the person himself, and it is an admission and acknowledgement that no one forgives sins except Allah, because of His perfect sovereignty. “faghfir li maghfiratan min ‘indikawarhamni, innaka anta al-Ghafurul-Rahim (so grant me forgiveness from You and have mercy on me, for indeed You are the Oft-Forgiving, Most Merciful)” – this is like the verse in which Allah (may He be exalted) says: {and who can forgive sins except Allah?} [Al ‘Imran 3:135]. This is an affirmation of the oneness of the Creator (may He be glorified and exalted), and seeking His forgiveness by means of this admission. This supplication is an example of concise speech, as it contains an admission of serious shortcomings – which is the fact that the individual has wronged himself greatly – and seeking the greatest blessing, which is forgiveness and mercy, for forgiveness conceals and erases sins, and mercy is the sending of blessings and granting of good. Thus the former is akin to being drawn away from the Fire and the latter is akin to being admitted to Paradise, and this is the great triumph..
Related hadiths8
Compare isnād across 8 related chains →