Hadithcore
Riyad as-Salihin, 1875

Shaddad bin Aus (May Allah be pleased with him) said:

The Prophet (ﷺ) said, "The best supplication for seeking forgiveness (Syed-ul- Istighfar) is to say: 'Allahumma Anta Rabbi, la ilaha illa Anta, khalaqtani wa ana 'abduka, wa ana 'ala 'ahdika wa wa'dika mastata'tu, a'udhu bika min sharri ma sana'tu, abu'u laka bini'matika 'alayya, wa abu'u bidhanbi faghfir li, fa innahu la yaghfirudh-dhunuba illa Anta. (O Allah! You are my Rubb. There is no true god except You. You have created me, and I am Your slave, and I hold to Your Covenant as far as I can. I seek refuge in You from the evil of what I have done. I acknowledge the favours that You have bestowed upon me, and I confess my sins. Pardon me, for none but You has the power to pardon).' He who supplicates in these terms during the day with firm belief in it and dies on the same day (before the evening), he will be one of the dwellers of Jannah; and if anyone supplicates in these terms during the night with firm belief in it and dies before the morning, he will be one of the dwellers of Jannah." <b>[Al-Bukhari]</b>.

وعن شداد بن أوس رضي الله عنه عن النبي صلى الله عليه وسلم قال‏:‏ ‏"‏سيد الإستغفار أن يقول العبد ‏:‏ اللهم أنت ربي، لا إله إلا أنت ، خلقتني وأنا عبدك، وأنا على عهدك ووعدك ما استطعت أعوذ بك من شر ما صنعت أبوء لك بنعمتك علي، وأبوء بذنبي، فاغفر لي فإنه لا يغفر الذنوب إلا أنت، من قالها من النهار موقنا بها، فمات من يومه قبل أن يمسي، فهو من أهل الجنة، ومن قالها من الليل وهو موقن بها فمات قبل أن يصبح، فهو من أهل الجنة” ‏(‏‏(‏رواه البخاري‏)‏‏)‏‏.‏ (1)

References1 variant
In-Book Reference
Book 19, Hadith 7
Sharh · explanationclick to expand
<b>Guidance from the Hadith:</b><br> 1) This supplication comprises all meanings of extolment of Allah Almighty. It contains acknowledgment of the fact that Allah is the Creator Who alone is worthy of being worshiped, and acknowledgment of the covenant He has taken from His servants, and it includes seeking refuge from the evil of oneself. So, he who admits his shortcoming, acknowledges the favors of his Lord, and asks Him for forgiveness will find Him Forgiving and Merciful.<br> 2) It shows a servant’s complete politeness towards his Creator. In the Hadith, the Prophet (may Allah’s peace and blessings be upon him) ascribed all favors to Allah Almighty alone, with no partner, and admitted sinfulness and attributed it to himself. Indeed, this is the way in which a true believer should turn to his Lord: he recognizes the divine successive favors and blessings bestowed upon him and observes his own faults and shortcomings.
Related hadiths3
Compare isnād across 3 related chains →