The Prophet ﷺ used to say, "Allah, I seek refuge in You from the evil of what I have done and from the evil of what I have not done."
حدثنا وكيع قال حدثنا الأوزاعي عن عبدة بن أبي لبابة عن هلال يعني ابن يساف عن فروة بن نوفل
أن النبي ﷺ كان يقول اللهم إني أعوذ بك من شر ما عملت ومن شر ما لم أعمل
Its isnad is sahih. Ubada bin Abu Lubaba al-Dimashqi is trustworthy, and his hadith appears in Sahihayn. The hadith was mentioned earlier at 24965.