Hadith on Dua: The Prophet teaches Sayyid al-Istighfar

Shaddad ibn Aws reported: The Prophet, peace and blessings be upon him, said to him, “The best way to seek forgiveness is that you say: O Allah, you are my Lord. There is no God but you. You created me and I am your servant, I am committed to you and your promise, as much as I can. I seek refuge in you from the evil I have done. I acknowledge your favors and I acknowledge my sins, so forgive me. Verily, no one forgives sins but you.”

The Prophet said, “Whoever says this in the day with conviction and dies before evening, he will be among the people of Paradise. Whoever says this in the night with conviction and dies before morning, he will be among the people of Paradise.”

Source: Ṣaḥīḥ al-Bukhārī 6306

Grade: Sahih (authentic) according to Al-Bukhari

عَنْ شَدَّادِ بْنِ أَوْسٍ رَضِيَ اللَّهُ عَنْهُ أَنَّ النَّبِيَّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ سَيِّدُ الِاسْتِغْفَارِ أَنْ تَقُولَ اللَّهُمَّ أَنْتَ رَبِّي لَا إِلَهَ إِلَّا أَنْتَ خَلَقْتَنِي وَأَنَا عَبْدُكَ وَأَنَا عَلَى عَهْدِكَ وَوَعْدِكَ مَا اسْتَطَعْتُ أَعُوذُ بِكَ مِنْ شَرِّ مَا صَنَعْتُ أَبُوءُ لَكَ بِنِعْمَتِكَ عَلَيَّ وَأَبُوءُ لَكَ بِذَنْبِي فَاغْفِرْ لِي فَإِنَّهُ لَا يَغْفِرُ الذُّنُوبَ إِلَّا أَنْتَ

قَالَ وَمَنْ قَالَهَا مِنْ النَّهَارِ مُوقِنًا بِهَا فَمَاتَ مِنْ يَوْمِهِ قَبْلَ أَنْ يُمْسِيَ فَهُوَ مِنْ أَهْلِ الْجَنَّةِ وَمَنْ قَالَهَا مِنْ اللَّيْلِ وَهُوَ مُوقِنٌ بِهَا فَمَاتَ قَبْلَ أَنْ يُصْبِحَ فَهُوَ مِنْ أَهْلِ الْجَنَّةِ

6306 صحيح البخاري كتاب الدعوات باب أفضل الاستغفار