حَدَّثَنَا عَبْدُ الْأَعْلَى ، حَدَّثَنَا زَكَرِيَّا بْنُ يَحْيَى بْنِ عُمَارَةَ ، قَالَ : سَمِعْتُ عَبْدَ الْعَزِيزِ بْنَ صُهَيْبٍ ، عَنْ أَنَسٍ ، أَنَّ النَّبِيَّ - صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ - كَانَ إِذَا دَخَلَ الْخَلَاءَ ، قَالَ : اللَّهُمَّ إِنِّي أَعُوذُ بِكَ مِنَ الْخُبُثِ وَالْخَبَائِثِ .
It is narrated from Sayyiduna Anas (may Allah be pleased with him) that when the Prophet (peace and blessings be upon him) entered the toilet, he would say: "'Allahumma inni a'udhu bika min al-khubuthi wa al-khaba'ith' (O Allah, I seek refuge in You from the evil of the male and female devils)."