https://abukhadeejah.com/it-is-allowed-to-perform-salah-in-a-church-if-there-is-some-need-as-long-as-there-are-no-images-idols-or-statues-in-them/
It is allowed to perform Salāh in a church if there is some need as long as there are no images, idols or statues in them: Ibn Taymiyyah and Ibn Bāz