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