بِسْمِ اللَّهِ اللَّهُمَّ إِنِّي أَعُوذُ بِكَ مِنَ الْخُبُثِ وَالْخَبَائِثِ
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
بِسْمِ اللَّهِ تَوَكَّلْتُ عَلَى اللَّهِ وَلَا حَوْلَ وَلَا قُوَّةَ إِلَّا بِاللَّهِ
In the Name of Allah, I place my trust in Allah, and there is no power nor strength except with Allah.
Sahihالسَّلَامُ عَلَيْكُمْ أَهْلَ الدِّيَارِ مِنَ الْمُؤْمِنِينَ وَالْمُسْلِمِينَ وَإِنَّا إِنْ شَاءَ اللَّهُ بِكُمْ لَاحِقُونَ نَسْأَلُ اللَّهَ لَنَا وَلَكُمُ الْعَافِيَةَ
Peace be upon you, O inhabitants of these dwellings, believers and Muslims. Indeed, we will, Allah willing, join you. We ask Allah for well-being for us and for you.
Sahihالسَّلَامُ عَلَيْنَا وَعَلَى عِبَادِ اللَّهِ الصَّالِحِينَ
Peace be upon us and upon the righteous servants of Allah.
Hasanلَا إِلَٰهَ إِلَّا اللَّهُ وَحْدَهُ لَا شَرِيكَ لَهُ، لَهُ الْمُلْكُ وَلَهُ الْحَمْدُ يُحْيِي وَيُمِيتُ وَهُوَ حَيٌّ لَا يَمُوتُ بِيَدِهِ الْخَيْرُ وَهُوَ عَلَى كُلِّ شَيْءٍ قَدِيرٌ
There is no deity except Allah, alone without partner. His is the dominion and His is the praise. He gives life and causes death, and He is the Ever-Living who does not die. In His hand is all good, and He is over all things capable.
Hasan