Hadithcore
Mishkat al-Masabih, 2471

Qutba b. Malik said that the Prophet (ﷺ) used to say, "O God, I seek refuge in You from objectionable characteristics, deeds and passions." Tirmidhi transmitted it.

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

References1 variant
In-Book Reference
Book 9, Hadith 239