بِسْمِ اللَّهِ اللَّهُمَّ إِنِّي أَعُوذُ بِكَ مِنَ الْخُبُثِ وَالْخَبَائِثِ
Bismillah. Allahumma inni a'udhu bika minal-khubthi wal-khaba'ith
In the Name of Allah. O Allah, I seek refuge in You from evil male and female jinn.
The Prophet ﷺ taught this to be said before entering the bathroom. Al-Khubthi and Al-Khaba'ith refer to male and female jinn (or evil and wicked things). The bathroom is a place where jinn are present, so seeking Allah's protection is especially important.
Related Du'as
سُبْحَانَ الَّذِي سَخَّرَ لَنَا هَٰذَا وَمَا كُنَّا لَهُ مُقْرِنِينَ وَإِنَّا إِلَىٰ رَبِّنَا لَمُنقَلِبُونَ
Glory to the One who has subjected this for us, and we could never have it by our own efforts. And indeed, to our Lord we will surely return.
Sahihبِسْمِ اللَّهِ وَلَجْنَا وَبِسْمِ اللَّهِ خَرَجْنَا وَعَلَى اللَّهِ رَبِّنَا تَوَكَّلْنَا
In the Name of Allah we enter, in the Name of Allah we leave, and upon Allah our Lord we place our trust.
Sahihبِسْمِ اللَّهِ تَوَكَّلْتُ عَلَى اللَّهِ وَلَا حَوْلَ وَلَا قُوَّةَ إِلَّا بِاللَّهِ
In the Name of Allah, I place my trust in Allah, and there is no power nor strength except with Allah.
Sahihوَأَنَا أَشْهَدُ أَنْ لَا إِلَٰهَ إِلَّا اللَّهُ وَحْدَهُ لَا شَرِيكَ لَهُ وَأَنَّ مُحَمَّدًا عَبْدُهُ وَرَسُولُهُ، رَضِيتُ بِاللَّهِ رَبًّا وَبِمُحَمَّدٍ رَسُولًا وَبِالْإِسْلَامِ دِينًا
And I bear witness that there is no deity except Allah alone, with no partner, and that Muhammad is His servant and messenger. I am pleased with Allah as Lord, Muhammad as Messenger, and Islam as religion.
Sahih