(48) The Book Pertaining to the Remembrance of Allah, Supplication, Repentance and Seeking Forgiveness
كتاب الذكر والدعاء والتوبة والاستغفار
(18) Chapter: Supplications [Of The Prophet (SAW)]
(18) باب التَّعَوُّذِ مِنْ شَرِّ مَا عَمِلَ وَمِنْ شَرِّ مَا لَمْ يَعْمَلْ
Sahih Muslim 2716 a 

Farwa' b. Naufal Ashja'i reported:

I asked: 'A'isha, in what words did Allah's Messenger (ﷺ) supplicate Allah? She said that he used to utter:" I seek refuge in Thee from the evil of what I did and from the evil of what I did not."
حَدَّثَنَا يَحْيَى بْنُ يَحْيَى، وَإِسْحَاقُ بْنُ إِبْرَاهِيمَ، - وَاللَّفْظُ لِيَحْيَى - قَالاَ أَخْبَرَنَا جَرِيرٌ، عَنْ مَنْصُورٍ، عَنْ هِلاَلٍ، عَنْ فَرْوَةَ بْنِ نَوْفَلٍ الأَشْجَعِيِّ، قَالَ سَأَلْتُ عَائِشَةَ عَمَّا كَانَ رَسُولُ اللَّهِ صلى الله عليه وسلم يَدْعُو بِهِ اللَّهَ قَالَتْ كَانَ يَقُولُ ‏ "‏ اللَّهُمَّ إِنِّي أَعُوذُ بِكَ مِنْ شَرِّ مَا عَمِلْتُ وَمِنْ شَرِّ مَا لَمْ أَعْمَلْ ‏"‏ ‏.‏
Reference : Sahih Muslim 2716a
In-book reference : Book 48, Hadith 88
USC-MSA web (English) reference : Book 35, Hadith 6557
  (deprecated numbering scheme)