حَدَّثَنَا أَبُو النُّعْمَانِ ، قَالَ : حَدَّثَنَا سَعِيدُ بْنُ زَيْدٍ ، قَالَ : حَدَّثَنَا عَبْدُ الْعَزِيزِ بْنُ صُهَيْبٍ ، قَالَ : حَدَّثَنِي أَنَسٌ ، قَالَ : كَانَ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ إِذَا أَرَادَ أَنْ يَدْخُلَ الْخَلاءَ ، قَالَ : ”اللَّهُمَّ إِنِّي أَعُوذُ بِكَ مِنَ الْخُبْثِ وَالْخَبَائِثِ.“
It is narrated from Sayyiduna Anas (may Allah be pleased with him) that when the Prophet (peace and blessings of Allah be upon him) intended to enter the toilet, he would recite this supplication: "O Allah! I seek refuge with You from male and female evil jinn."