Hadithcore
Mishkat al-Masabih, 2472

Shutair b. Shakal b. Humaid said that his father asked God’s Prophet (ﷺ) to teach him a formula by which he might seek refuge in God, and he told him to say, “O God, I seek refuge in You from evil in what I hear, see, speak, think about, and from evil arising from my sexual passion.” Abu Dawud, Tirmidhi and Nasa’i transmitted it.

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

References1 variant
In-Book Reference
Book 9, Hadith 240