Sure At-Tawba

9:18

إِنَّمَا يَعْمُرُ مَسَٰجِدَ ٱللَّهِ مَنْ ءَامَنَ بِٱللَّهِ وَٱلْيَوْمِ ٱلْءَاخِرِ وَأَقَامَ ٱلصَّلَوٰةَ وَءَاتَى ٱلزَّكَوٰةَ وَلَمْ يَخْشَ إِلَّا ٱللَّهَ ۖ فَعَسَىٰٓ أُو۟لَٰٓئِكَ أَن يَكُونُوا۟ مِنَ ٱلْمُهْتَدِينَ

Gewiß, Allahs Gebetsstätten bevölkert nur, wer an Allah und den Jüngsten Tag glaubt, das Gebet verrichtet, die Abgabe entrichtet und niemanden außer Allah fürchtet. Diese aber werden vielleicht zu den Rechtgeleiteten gehören.

Tafsir 9:18

It is only right that places of worship should be supported and cared for by those who have faith in Allah alone, who do not associate partners with Him, who have faith in the Day of Judgement, who establish the prayer, and give the Zakat from their wealth, and who do not fear anyone except for Allah, glory be to Him. Such people will be guided to the right path, while the idolaters are the farthest away from it.