All perfect praise be to Allaah, The Lord of the Worlds. I testify that there is none worthy of worship except Allaah, and that Muhammad is His slave and Messenger. We ask Allaah to exalt his mention as well as that of his family and all his companions.
There is no harm in listening to the Quran or religious lectures while in the toilet and while leaving the bathroom door open as this does not lead to any religious prohibition.
Allaah Knows best.