I asked Ayesha about the supplications that the Messenger of Allah ﷺ used to make to Allah. She replied, "He 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.'"
سألت عائشة عما كان رسول الله ﷺ يدعو به الله، قالت: كان يقول: اللهم إني أعوذ بك من شر ما عملت ومن شر ما لم أعمل.
Sahih Muslim narrated it in the Book of Remembrance and Supplication (2716) through several routes from Jareer, from Mansur, from Hilal, from Farwa bin Nawfal Ashjai, and he mentioned it.