Dua Before Entering the Toilet & Dua After Leaving the Toilet
Before Entering the Toilet
بِسْمِ اللّٰهِ
In the Name of Allah.
Bismillahi
اَللّٰهُمَّ اِنِّيْ اَعُوْذُ بِكَ مِنَ الْخُبْثِ وَالْخَبَائِثِ
O Allah! I seek refuge in You from the male and female evil jinn.
Allahumma inni a‘udhu bika minal khubthi wal khaba’ith
Al-Bukhari 1/45, No. 142; Muslim 1/283, No. 375. The addition of “Bismillah” at the beginning is narrated by Sa‘id ibn Mansur. See Fath al-Bari, 1/244.

Hisnul Muslim
After Leaving the Toilet
غُفْرَانَكَ
I seek Your forgiveness.
Ghufranaka
This hadith has been recorded by all the Sunan compilers except An-Nasa’i, but he has recorded it in his ‘Amal al-Yawm wa al-Laylah (No. 79). Abu Dawood, No. 30; Tirmidhi, No. 7; Ibn Majah, No. 300. Shaykh al-Albani graded it as Sahih in Sahih Sunan Abi Dawood 1/19.
View Islamic T-Shirt Designs Here: Muslim Fashion

Seeking Refuge Before Entering the Toilet
Anas ibn Malik (رضي الله عنه) reported: When the Prophet ﷺ entered the toilet, he would say:
“O Allah! I seek refuge in You from the male and female evil jinn.”
(اللَّهُمَّ إِنِّي أَعُوذُ بِكَ مِنَ الخُبْثِ وَالخَبَائِثِ)
(Sahih al-Bukhari, 142; Sahih Muslim, 375)
Dua Before Entering the Toilet
Adding “Bismillah” Before the Dua
Sa‘id ibn Mansur narrated that when the Prophet ﷺ entered the toilet, he would say:
“Bismillah. O Allah! I seek refuge in You from the male and female evil jinn.”
(بِسْمِ اللَّهِ، اللَّهُمَّ إِنِّي أَعُوذُ بِكَ مِنَ الخُبْثِ وَالخَبَائِثِ)
This addition of “Bismillah” is considered recommended by many scholars.
(Reported by Sa‘id ibn Mansur; see Fath al-Bari, 1/244)
Covering Oneself Before Relieving Oneself
Ali ibn Abi Talib (رضي الله عنه) reported: The Messenger of Allah ﷺ said:
“The screen between the jinn and the private parts of a person when he enters the toilet is to say: Bismillah.”
(سِتْرُ مَا بَيْنَ أَعْيُنِ الجِنِّ وَعَوْرَاتِ بَنِي آدَمَ إِذَا دَخَلَ أَحَدُهُمُ الخَلَاءَ أَنْ يَقُولَ: بِسْمِ اللَّهِ)
(Sunan al-Tirmidhi, 606; graded Hasan by Al-Albani)
Dua Before Entering the Toilet
The Etiquette of Entering with the Left Foot First
Aishah (رضي الله عنها) reported: The Prophet ﷺ used to like starting with his right side in all matters, except when entering the toilet, he would begin with his left foot.
(Sahih al-Bukhari, 168; Sahih Muslim, 268)
Arabic:
حَدَّثَنَا آدَمُ، قَالَ حَدَّثَنَا شُعْبَةُ، عَنْ عَبْدِ الْعَزِيزِ بْنِ صُهَيْبٍ، قَالَ سَمِعْتُ أَنَسًا، يَقُولُ كَانَ النَّبِيُّ صلى الله عليه وسلم إِذَا دَخَلَ الْخَلاَءَ قَالَ ” اللَّهُمَّ إِنِّي أَعُوذُ بِكَ مِنَ الْخُبُثِ وَالْخَبَائِثِ ”.
تَابَعَهُ ابْنُ عَرْعَرَةَ عَنْ شُعْبَةَ. وَقَالَ غُنْدَرٌ عَنْ شُعْبَةَ إِذَا أَتَى الْخَلاَءَ. وَقَالَ مُوسَى عَنْ حَمَّادٍ إِذَا دَخَلَ. وَقَالَ سَعِيدُ بْنُ زَيْدٍ حَدَّثَنَا عَبْدُ الْعَزِيزِ إِذَا أَرَادَ أَنْ يَدْخُلَ.
English Translation:
Narrated Anas (may Allah be pleased with him):
He said, when the Prophet (ﷺ) went to the toilet (to relieve himself), he used to say:
“O Allah! I seek refuge with You from the male and female devils (from all evil and impure beings).”
Ibn ‘Ar‘arah narrated the same from Shu‘bah.
Ghundar narrated from Shu‘bah, “When he went to the toilet.”
Musa narrated from Hammad, “When he entered.”
Sa‘id ibn Zayd narrated from ‘Abdul ‘Aziz, “When he intended to enter.”
References:
(Sahih al-Bukhari 6322; Muslim 375; Ahmad 11947, 11983)
(Modern Publishing: 139; Islamic Foundation: 144)
Arabic:
حَدَّثَنَا عَبْدُ اللَّهِ بْنُ مُحَمَّدٍ، قَالَ حَدَّثَنَا هَاشِمُ بْنُ الْقَاسِمِ، قَالَ حَدَّثَنَا وَرْقَاءُ، عَنْ عُبَيْدِ اللَّهِ بْنِ أَبِي يَزِيدَ، عَنِ ابْنِ عَبَّاسٍ، أَنَّ النَّبِيَّ صلى الله عليه وسلم دَخَلَ الْخَلاَءَ، فَوَضَعْتُ لَهُ وَضُوءًا، قَالَ ” مَنْ وَضَعَ هَذَا ”. فَأُخْبِرَ فَقَالَ ” اللَّهُمَّ فَقِّهْهُ فِي الدِّينِ ”
English Translation:
Narrated Ibn ‘Abbas (may Allah be pleased with him):
Once the Prophet (ﷺ) went to the toilet, and I placed water for him (to perform ablution). He asked, “Who placed this?” When he was informed, he said:
“O Allah! Grant him understanding of the religion.”
Dua Before Entering the Toilet
References:
(Sahih al-Bukhari 75; Muslim 2477; Ahmad 2397, 2881, 3023)
(Modern Publishing: 140; Islamic Foundation: 145)








