Is it allowed to take ghusl in an attached toilet bathroom (only if there is no other option)?
بسم الله الرحمن الرحيم
(Fatwa: 256/202/B=2/1439)
Yes, it is lawful, but he should take the bath carefully.
Allah knows Best!
Darul Ifta,
Darul Uloom Deoband