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 11029

Sahih

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

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

الأعظمي 11029صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Supplications, remembrances, and prayer upon the chosen Prophet ﷺ
Chapter
Supplications of adhan and prayer, and what is related to them
Section
Supplications before the taslim
Numbering
Jami al-Kamil 11029 (2nd edition)
Azami 11029