At Tawbah Ayah 18
إِنَّمَا يَعْمُرُ مَسَـٰجِدَ ٱللَّهِ مَنْ ءَامَنَ بِٱللَّهِ وَٱلْيَوْمِ ٱلْأَخِرِ وَأَقَامَ ٱلصَّلَوٲةَ وَءَاتَى ٱلزَّكَوٲةَ وَلَمْ يَخْشَ إِلَّا ٱللَّهَۖ فَعَسَىٰٓ أُوْلَـٰٓئِكَ أَن يَكُونُواْ مِنَ ٱلْمُهْتَدِينَ ١٨
The mosques of Allah should only be maintained by those who believe in Allah and the Last Day, establish prayer, pay alms-tax, and fear none but Allah. It is right to hope that they will be among the ?truly? guided.