Abu Bakr reported,

He said to the Messenger of Allah ﷺ, "Teach me a supplication to recite in my prayer."He replied, "Say, 'O Allah, I have wronged myself greatly, and none forgives sins but You. So grant me forgiveness from Yourself and have mercy on me. Indeed, You are the Forgiving, the Merciful.'"

Azami 2183

Sahih

عن أبي بكر الصديق

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

الأعظمي 2183صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Prayer
Chapter
Tashahhud and salam
Section
Supplications before the taslim
Numbering
Jami al-Kamil 2183 (2nd edition)
Azami 2183