Dua Entering the Bathroom
اللَّهُمَّ إِنِّي أَعُوذُ بِكَ مِنَ الْخُبْثِ وَالْخَبَائِثِ
Allahumma inni a'udhu bika minal-khubthi wal-khaba'ith.
O Allah, I seek refuge in You from impure spirits, male and female devils.
Creates an unseen spiritual curtain preventing malicious entities from viewing or harming your body.
Source: Sahih al-Bukhari (142) & Sahih Muslim (375)
Dua Leaving the Bathroom
غُفْرَانَكَ، الْحَمْدُ لِلَّهِ الَّذِي أَذْهَبَ عَنِّي الْأَذَى وَعَافَانِي
Ghufranaka, alhamdu lillahil-ladhi adh-haba 'annil-adha wa 'afani.
I seek Your forgiveness. Praise be to Allah who relieved me of harm and granted me health.
Acknowledges relief from bodily toxins while seeking spiritual cleansing from internal impurities.
Source: Sunan Abi Dawud (17) & Sunan Ibn Majah (301)