Sahih Bukhari – Hadith No : 6396

Narrated Shaddad bin ‘Aus: The Prophet said, “The most superior way of asking for forgiveness from Allah is: ‘Allahumma anta Rabbi la ilaha illa anta. Khalaqtani wa ana `Abduka, wa ana ‘ala ‘ahdika wa Wa’dika mastata’tu abu’u Laka bi ni ‘matika wa abu’u Laka bidhanbi; faghfirli fa’innahu la yaghfiru-dh-dhunuba ill a ant a. A’uidhu bika min sharri ma sana’tu.’ If somebody recites this invocation during the night, and if he should die then, he will go to Paradise (or he will be from the people of Paradise). And if he recites it in the morning, and if he should die on the same day, he will have the same fate.”

Hadith In Arabic Text :

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

Chapter : Invocations – كتاب الدعوات