The Prophet (may Allah's peace and blessings be upon him) used to say before entering the bathroom: "Allāhumma inni a‘ūdhu bika min al-khubuth wa al-khabā’ith (O Allah, I seek refuge in You from the male and female devils)

The hadith

عَنْ أَنَسٍ رضي الله عنه قَألَ: كَانَ النَّبِيُّ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ إِذَا دَخَلَ الخَلاَءَ قَالَ: «اللَّهُمَّ إِنِّي أَعُوذُ بِكَ مِنَ الخُبُثِ وَالخَبَائِثِ».

Anas (may Allah be pleased with him) reported: The Prophet (may Allah's peace and blessings be upon him) used to say before entering the bathroom: "Allāhumma inni a‘ūdhu bika min al-khubuth wa al-khabā’ith (O Allah, I seek refuge in You from the male and female devils)."

Grade
Authentic (graded on HadeethEnc.com)
Attribution
Agreed upon
Source
Sahīh Al-Bukhāri - 142

Explanation

Whenever the Prophet (may Allah's peace and blessings be upon him) wanted to enter the place where he would relieve himself, either urinating or defecating, he would seek refuge with Allah and resort to Him to protect him from the evil of the male and female devils. The "Khubuth" and "Khabā’ith" were also said to mean evil and impurities.

Benefits

Read on HadeethEnc.com

All hadiths

Questions

Is this hadith authentic?

HadeethEnc.com grades it: Authentic. Agreed upon, Sahīh Al-Bukhāri - 142.