قال الشيخ رحمه الله ولا بأس بالصلاة في البيع والكنايس إذا توجه الانسان المسلم إلى قبلته ولا يصلى في بيوت المجوس حتى ترش بالماء
The Shaykh (Al-Mufid), may Allah سبحانه وتعالى support him, said: "There is no problem with praying in churches (biya’) and synagogues (kanaʾis) if the Muslim faces the Qiblah. But prayer should not be performed in Zoroastrian fire temples (buyut al-majus) until they are sprinkled with water."