Shaddad bin Aws reported,

The Prophet ﷺ said, "The master of seeking forgiveness is to say, 'O Allah, You are my Lord. There is no god but You. You created me, and I am Your servant. I hold to Your covenant and promise as best I can. I seek refuge in You from the evil of what I have done. I acknowledge before You Your favors upon me, and I acknowledge before You my sins, so forgive me, for none forgives sins but You.'"He said, "Whoever says it during the day with firm conviction in it and dies that same day before evening will be among the people of Paradise, and whoever says it during the night with firm conviction in it and dies before morning will be among the people of Paradise."In another wording, "If he says it when evening comes and then dies, he will enter Paradise," or "he will be among the people of Paradise, and if he says it when morning comes and dies that same day, the same applies."

Azami 11217

Sahih

عن شداد بن أوس

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

الأعظمي 11217صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Supplications, remembrances, and prayer upon the chosen Prophet ﷺ
Chapter
Morning and evening supplications
Section
Supplications and remembrances in the morning and evening
Numbering
Jami al-Kamil 11217 (2nd edition)
Azami 11217