The Messenger of Allah ﷺ said, "Whoever says in the morning or in the evening, '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 Your promise as best I can. I seek refuge in You from the evil of what I have done. I acknowledge Your favor upon me and I acknowledge my sin, so forgive me, for none forgives sins but You,' and then dies that day or that night, will enter Paradise."
حدثنا أبو كامل حدثنا زهير حدثنا الوليد بن ثعلبة الطائي
قال رسول الله ﷺ من قال حين يصبح أو حين يمسي اللهم أنت ربي لا إله إلا أنت خلقتني وأنا عبدك وأنا على عهدك ووعدك ما استطعت أعوذ بك من شر ما صنعت أبوء بنعمتك علي وأبوء بذنبي فاغفر لي إنه لا يغفر الذنوب إلا أنت فمات من يومه أو من ليلته دخل الجنة
Its isnad is sahih. Walid bin Thalaba Tai is trustworthy, as mentioned before, and his hadith appears in the Sunan. The hadith refers to the master supplication for seeking forgiveness mentioned earlier at 17066.