“Musaad bin Musarhad informed us, Hammad bin Zaid and Abd al-Warith narrated to us, from Abdul Aziz bin Suhayb, from Anas bin Malik, who said: When the Messenger of Allah (peace be upon him) entered the lavatory, he used to say (according to Hammad): ‘O Allah, I seek refuge in You.’ And he (peace be upon him) said, according to Abdul Warith: ‘I seek refuge in Allah from male and female devils.’ Abu Dawood said: Shu’bah narrated it from Abdul Aziz: ‘O Allah, I seek refuge in You.’ He (Abdul Aziz) said it another time as: ‘I seek refuge in Allah.’ Wuhayb said: Let him seek refuge in Allah.”
حَدَّثَنَا مُسَدَّدُ بْنُ مُسَرْهَدٍ، حَدَّثَنَا حَمَّادُ بْنُ زَيْدٍ، وَعَبْدُ الْوَارِثِ، عَنْ عَبْدِ الْعَزِيزِ بْنِ صُهَيْبٍ، عَنْ أَنَسِ بْنِ مَالِكٍ، قَالَ كَانَ رَسُولُ اللَّهِ صلى الله عليه وسلم إِذَا دَخَلَ الْخَلاَءَ – قَالَ عَنْ حَمَّادٍ قَالَ ” اللَّهُمَّ إِنِّي أَعُوذُ بِكَ ” . وَقَالَ عَنْ عَبْدِ الْوَارِثِ – قَالَ ” أَعُوذُ بِاللَّهِ مِنَ الْخُبُثِ وَالْخَبَائِثِ ” . قَالَ أَبُو دَاوُد رَوَاهُ شُعْبَةُ عَنْ عَبْدِ الْعَزِيزِ اللَّهُمَّ إِنِّي أَعُوذُ بِكَ وَقَالَ مَرَّةً أَعُوذُ بِاللَّهِ و قَالَ وُهَيْبٌ فَلْيَتَعَوَّذْ بِاللَّهِ