"إِذا دَخَلتُم الغائِط فقُولُوا: باسْم الله، أعوذُ باللهِ من الخُبُثِ والخبائِثِ".
See similar narrations below:
Collected by Muslim, Ibn Mājah, Aḥmad, Nasāʾī's Kubrá, Bayhaqī, SuyūṭīI seek refuge with Allah from the wicked and noxious things.
وَقَالَ أَعُوذُ بِاللَّهِ مِنَ الْخُبْثِ وَالْخَبَائِثِ
"Whenever the Messenger of Allah entered the toilet, he would say: 'A'udhu Billahi minal-khubthi wa'l-khaba'ith (I seek refuge with Allah from male and female devils).'"
كَانَ رَسُولُ اللَّهِ ﷺ إِذَا دَخَلَ الْخَلاَءَ قَالَ أَعُوذُ بِاللَّهِ مِنَ الْخُبُثِ وَالْخَبَائِثِ
"Whenever the Messenger of Allah entered the toilet, he would say: 'A'udhu Billahi minal-khubthi wa'l-khaba'ith (I seek refuge with Allah from male and female devils).'" (Using translation from Ibn Mājah 298)
كَانَ نَبِيُّ اللهِ ﷺ إِذَا دَخَلَ الْخَلَاءَ قَالَ أَعُوذُ بِاللهِ مِنَ الْخُبْثِ وَالْخَبَائِثِ
"Whenever the Messenger of Allah entered the toilet, he would say: 'A'udhu Billahi minal-khubthi wa'l-khaba'ith (I seek refuge with Allah from male and female devils).'" (Using translation from Ibn Mājah 298)
كَانَ رَسُولُ اللهِ ﷺ إِذَا دَخَلَ الْخَلَاءَ قَالَ «أَعُوذُ بِاللهِ مِنَ الْخُبُثِ وَالْخَبَائِثِ»
"Whenever the Messenger of Allah entered the toilet, he would say: 'A'udhu Billahi minal-khubthi wa'l-khaba'ith (I seek refuge with Allah from male and female devils).'" (Using translation from Ibn Mājah 298)
أَنَّ رَسُولَ اللهِ ﷺ كَانَ إِذَا دَخَلَ الْخَلَاءَ قَالَ «أَعُوذُ بِاللهِ مِنَ الْخُبُثِ وَالْخَبَائِثِ»
Whenever the Prophet ﷺ went to the lavatory, he used to say: "Allahumma inni aʿudhu bika min al-khubuthi wal khaba'ith." (Using translation from Bukhārī 6322)
أَنَّ رَسُولَ اللهِ ﷺ كَانَ إِذَا أَرَادَ الْخَلَاءَ قَالَ أَعُوذُ بِاللهِ مِنَ الْخُبُثِ وَالْخَبَائِثِ
" عَنْ أَنَسٍ قَالَ: كَانَ رَسُولُ اللهِ ﷺ إِذَا دَخَلَ الخَلاَءَ قَالَ: أَعُوذُ بِاللهِ مِنَ الْخُبثِ وَالْخَبَائِثِ ".
" عَنْ أَنَسٍ: كَانَ رَسُولُ اللهِ ﷺ إِذَا دَخَلَ الكَنِيفَ قَالَ: بِسْم اللهِ اللَّهُمَّ إِنِّى أَعُوذُ بِكَ مِنَ الْخُبُثِ وَالْخَبَائِث ".