Question :
What is the ruling on entering the toilet with something containing the remembrance of Allah?
The Answer :
It is disliked to bring into the toilet anything containing a reminder of Allah, such as the Quran or a sacred name (like the name of Allah, Muhammad, etc.). If one does that, etiquette dictates that he conceal it so it is not visible while entering the toilet, either by cupping his hands over it, putting it in his pocket, or inside his shirt if it is a necklace or ring. And Allah the Almighty knows best.