The Ruling Regarding Remembering
Allâh in Washrooms
Question :
Is it permissible for a Muslim, while he is in the washroom, to remember Allâh, or should he stop remembering Allâh the moment he enters?
Answer:
Before entering the washroom, it is from Islamic etiquette that a Muslim should say:
"O Allah, I seek refuge in You from Al-Khubthi and Al- Khaba'ith."
But one should stop uttering any statements of remembrance the moment he enters the bathroom.
Source:
The Permanent Committee
Fatawa Islamiyah, Vol. 8 Pages 365-366