Hadithcore
Mishkat al-Masabih, 2462

‘A’isha said that God’s messenger used to say, “O God, I seek refuge in You from the evil of what I have done and from the evil of what I have not done.” Muslim transmitted it.

وَعَنْ عَائِشَةَ قَالَتْ: كَانَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ يَقُولُ: «اللَّهُمَّ إِنِّي أَعُوذُ بِكَ مِنْ شَرِّ مَا عَمِلْتُ وَمِنْ شَرِّ مَا لَمْ أعمَلْ» . رَوَاهُ مُسلم

References1 variant
In-Book Reference
Book 9, Hadith 231