Prayer: Praying Inside or on the Roof of the Kaʿbah
Practical Laws of Islam as per the teachings of Ayatullah Sistani
Ruling 877
The obligatory precaution is that obligatory prayers must not be wilfully performed inside the Kaʿbah or on its roof. There is no problem, however, if one is compelled.


