What Is Said When entering The Toilet Jami` at-Tirmidhi 5

Arabic hadith text
حَدَّثَنَا قُتَيْبَةُ، وَهَنَّادٌ، قَالاَ حَدَّثَنَا وَكِيعٌ، عَنْ شُعْبَةَ، عَنْ عَبْدِ الْعَزِيزِ بْنِ صُهَيْبٍ، عَنْ أَنَسِ بْنِ مَالِكٍ، قَالَ كَانَ النَّبِيُّ صلى الله عليه وسلم إِذَا دَخَلَ الْخَلاَءَ قَالَ ‏"‏ اللَّهُمَّ إِنِّي أَعُوذُ بِكَ قَالَ شُعْبَةُ وَقَدْ قَالَ مَرَّةً أُخْرَى أَعُوذُ بِكَ مِنَ الْخُبْثِ وَالْخَبِيثِأَوِ الْخُبُثِ وَالْخَبَائِثِ ‏"‏ ‏.‏ قَالَ أَبُو عِيسَى وَفِي الْبَابِ عَنْ عَلِيٍّ وَزَيْدِ بْنِ أَرْقَمَ وَجَابِرٍ وَابْنِ مَسْعُودٍ ‏.‏ قَالَ أَبُو عِيسَى حَدِيثُ أَنَسٍ أَصَحُّ شَيْءٍ فِي هَذَا الْبَابِ وَأَحْسَنُ ‏.‏ وَحَدِيثُ زَيْدِ بْنِ أَرْقَمَ فِي إِسْنَادِهِ اضْطِرَابٌ رَوَى هِشَامٌ الدَّسْتَوَائِيُّ وَسَعِيدُ بْنُ أَبِي عَرُوبَةَ عَنْ قَتَادَةَ فَقَالَ سَعِيدٌ عَنِ الْقَاسِمِ بْنِ عَوْفٍ الشَّيْبَانِيِّ عَنْ زَيْدِ بْنِ أَرْقَمَ ‏.‏ وَقَالَ هِشَامٌ الدَّسْتَوَائِيُّ عَنْ قَتَادَةَ عَنْ زَيْدِ بْنِ أَرْقَمَ ‏.‏ وَرَوَاهُ شُعْبَةُ وَمَعْمَرٌ عَنْ قَتَادَةَ عَنِ النَّضْرِ بْنِ أَنَسٍ فَقَالَ شُعْبَةُ عَنْ زَيْدِ بْنِ أَرْقَمَ ‏.‏ وَقَالَ مَعْمَرٌ عَنِ النَّضْرِ بْنِ أَنَسٍ عَنْ أَبِيهِ عَنِ النَّبِيِّ صلى الله عليه وسلم ‏.‏ قَالَ أَبُو عِيسَى سَأَلْتُ مُحَمَّدًا عَنْ هَذَا فَقَالَ يُحْتَمَلُ أَنْ يَكُونَ قَتَادَةُ رَوَى عَنْهُمَا جَمِيعًا
Translation
Anas bin Malik said

"When the Prophet entered the toilet he would say: 'O Allah Indeed I seek refuge in You.'" Shu'bah (one of the narrators) said: "Another time he said: 'I seek refuge in You from AI-Khubthi and al-Khablth.' Or: 'Al-Khubthi and Al-Khaba'ith.'"

Commentary

Overview & Central Theme

This hadith, recorded by Imam At-Tirmidhi in The Book on Purification (Jami` at-Tirmidhi 5), establishes the Prophetic practice of seeking Allah's protection upon entering the toilet. The central theme is the spiritual fortification of the believer through dhikr (remembrance) in a place of physical impurity and potential spiritual harm. The Prophet ﷺ taught us to invoke Allah's refuge against malevolent spirits (al-khubthi wa al-khaba'ith) that frequent such places, transforming a mundane act into an act of worship and reliance upon Allah. This narration underscores the comprehensive nature of Islamic guidance—no aspect of human life, however private or seemingly insignificant, is devoid of prophetic direction and divine connection.

Context & Linguistic Insights

The hadith is a direct report from Anas ibn Malik (may Allah be pleased with him), a servant of the Prophet ﷺ for ten years, who witnessed his private moments. The narration shows the Prophet ﷺ saying: "Allahumma inni a'udhu bika" (O Allah, I seek refuge in You), with Shu'bah noting a variant: "A'udhu bika minal-khubthi wal-khaba'ith" (I seek refuge in You from the male and female devils). Linguistically, "al-khubth" (with sukoon on the kha) refers to disbelief or evil, while "al-khaba'ith" (plural of khabithah) refers to evil spirits—male and female devils. Some scholars interpret these terms as referring to acts of indecency and foul things, while others specify jinn and devils. The word "al-khubthi" may also be read as "al-khubthi" (with dhammah), meaning evil persons, but the predominant interpretation in classical commentaries is that it denotes male and female devils. This dua is prescribed at the threshold of the toilet because such places are dwelling grounds for harmful spirits, and seeking Allah's refuge is a shield against their harm and the spiritual defilement they represent.

Key Scholarly Insights & Legal Benefits

  • Jurisprudential Ruling: The majority of scholars (Jumhur) hold that reciting this supplication upon entering the toilet is a confirmed Sunnah (mustahabb), not obligatory. It is recommended to say it before entering, and some scholars add the basmalah and the phrase "Bismillah, Allahumma inni a'udhu bika minal-khubthi wal-khaba'ith" as transmitted in other versions.
  • Theological Principle: The hadith affirms the existence of jinn and devils who can harm humans, and it validates the efficacy of seeking Allah's refuge (isti'adha) as a means of protection. This reinforces the believer's reliance on Allah alone for safety, not on amulets or superstitious practices.
  • Ethical & Behavioral Wisdom: The Prophet ﷺ taught us to guard our tongues and hearts even in private moments. By beginning with Allah's name and seeking His refuge, the believer acknowledges that no place is outside Allah's dominion, and even in moments of answering the call of nature, one remains in a state of conscious servitude to Allah.
"The wisdom behind seeking refuge from al-khubthi wal-khaba'ith when entering the toilet is that these places are frequented by the devils, and the believer seeks Allah's protection from their evil and from the filth they represent. This is a form of spiritual purification that precedes physical purification." — Imam An-Nawawi, Sharh Sahih Muslim

Daily Life & Spiritual Application

In our daily lives, this hadith teaches us to transform every routine action into an act of remembrance and reliance upon Allah. Before entering any place of impurity—whether a restroom or a place of moral decay—we should mentally and verbally seek Allah's protection. This practice instills mindfulness (taqwa) and humility, reminding us that we are always in need of Allah's care. It also encourages us to avoid unnecessary speech in the toilet and to maintain modesty and cleanliness. On a deeper level, the hadith invites us to reflect on the unseen reality of jinn and devils, prompting us to strengthen our faith through regular dhikr and Quranic recitation, which serve as protective shields. By implementing this Sunnah, we align our hearts with the Prophet's ﷺ example and cultivate a life of continuous worship, even in the most private and mundane moments. The believer who internalizes this teaching finds peace in knowing that Allah's protection encompasses every sphere of existence, and that no evil can harm them without His permission.