Farwa bin Nawfal reported,

I said to Ayesha, "Tell me of something the Messenger of Allah ﷺ used to supplicate with in his prayer."She replied, "Yes. The Messenger of Allah ﷺ used to say, 'O Allah, I seek refuge in You from the evil of what I have done and from the evil of what I have not done.'"

Azami 11031

Sahih

عن فروة بن نوفل قال

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

الأعظمي 11031صحيح
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 11031 (2nd edition)
Azami 11031