Taking Something that has Allâh's Name Written to the Washroom
Question :
I have a small book that I always keep in my pocket, and in it are written invocations and supplications, of the kind that is beneficial both for this world and the Hereafter. When I enter the washroom to make ablution or to relieve myself, I take this book with me; is there a sin upon me for this?
Answer:
It's better not to take something that has statements of remembrance written on it to where one relieves himself. It is disliked by a group of the people of knowledge if it is possible to avoid taking it there. When it is not possible to leave it outside the washroom, then there is no harm on you, and it is not considered disliked. And Allah is the Granter of success.
Source:
Ibn Baz
Fatawa Islamiyah, Vol. 8 Page 365