The Messenger of Allah (ﷺ) said: These privies are frequented by the jinns and devils. So…

Sunan Abu Dawud Book 1 Hadith 6

Sunan Abu Dawud #6

Purification (Kitab Al-Taharah) 1:6

Narrated Zayd ibn Arqam:

The Messenger of Allah (ﷺ) said: These privies are frequented by the jinns and devils. So when anyone amongst you goes there, he should say: "I seek refuge in Allah from male and female devils."

Chapter: What A Person Should Say When He Enters The Area Wherein He Relieves Himself

Grade: Sahih (Al-Albani)