Sahih Muslim 375a
Anas reported: When the Messenger of Allah ﷺ entered the privy, and in the hadith transmitted by Hushaim (the words are): When the Messenger of Allah ﷺ entered the lavatory, be used to say: O Allah, I seek refuge in Thee from wicked and noxious things.
حَدَّثَنَا يَحْيَى بْنُ يَحْيَى، أَخْبَرَنَا حَمَّادُ بْنُ زَيْدٍ، وَقَالَ، يَحْيَى أَيْضًا أَخْبَرَنَا هُشَيْمٌ، كِلاَهُمَا عَنْ عَبْدِ الْعَزِيزِ بْنِ صُهَيْبٍ، عَنْ أَنَسٍ، - فِي حَدِيثِ حَمَّادٍ كَانَ رَسُولُ اللَّهِ ﷺ إِذَا دَخَلَ الْخَلاَءَ وَفِي حَدِيثِ هُشَيْمٍ - أَنَّ رَسُولَ اللَّهِ ﷺ كَانَ إِذَا دَخَلَ الْكَنِيفَ قَالَ
" اللَّهُمَّ إِنِّي أَعُوذُ بِكَ مِنَ الْخُبْثِ وَالْخَبَائِثِ " .
Classification
Sahih (Authentic)
References
Sahih Muslim 375a
Sahih Muslim Vol. 1, Book of Menstruation, Hadith 729