(The same is reported) from al-Sha'bi. They (both) said: There is no harm in praying in a synagogue or a church.