عَنْ عَبْدِ الْعَزِيزِ بْنِ صُهَيْبٍ ، قَالَ : سَمِعْتُ أَنَسًا ، يَقُولُ : كَانَ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ إِذَا دَخَلَ الْخَلَاءَ ، قَالَ : اللَّهُمَّ إِنِّي أَعُوذُ بِكَ مِنَ الْخُبُثِ وَالْخَبَائِثِ (بُخاری:۱۴۲)
Translation
Hazrat Anas (R.A) says that when the Noble Messenger (ﷺ) would enter the toilet (for answering the call of nature), he would recite this (supplication):
اللَّهُمَّ إِنِّي أَعُوذُ بِكَ مِنَ الْخُبُثِ وَالْخَبَائِثِ
O Allah! I seek Your refuge from the impure male jinns and impure female jinns.