Ibrahim and al-Sha'bi said: It is permissible to pray in the places of worship of the Christians and the Jews.