30:9
أَ وَ لَمْ يَسِيرُ وا۟ فِى ٱلْ أَرْضِ فَ يَنظُرُ وا۟ كَيْفَ كَانَ عَٰقِبَةُ ٱلَّذِينَ مِن قَبْلِ هِمْ كَانُ وٓا۟ أَشَدَّ مِنْ هُمْ قُوَّةً وَ أَثَارُ وا۟ ٱلْ أَرْضَ وَ عَمَرُ و هَآ أَكْثَرَ مِ مَّا عَمَرُ و هَا وَ جَآءَتْ هُمْ رُسُلُ هُم بِ ٱلْ بَيِّنَٰتِ فَ مَا كَانَ ٱللَّهُ لِ يَظْلِمَ هُمْ وَ لَٰكِن كَانُ وٓا۟ أَنفُسَ هُمْ يَظْلِمُ ونَ
Have they not traveled through the earth and observed how was the end of those before them? They were greater than them in power, and they plowed the earth and built it up more than they have built it up, and their messengers came to them with clear evidences. And Allah would not ever have wronged them, but they were wronging themselves.
52:4
وَ ٱلْ بَيْتِ ٱلْ مَعْمُورِ
And [by] the frequented House
9:17
مَا كَانَ لِ لْ مُشْرِكِينَ أَن يَعْمُرُ وا۟ مَسَٰجِدَ ٱللَّهِ شَٰهِدِينَ عَلَىٰٓ أَنفُسِ هِم بِ ٱلْ كُفْرِ أُو۟لَٰٓئِكَ حَبِطَتْ أَعْمَٰلُ هُمْ وَ فِى ٱل نَّارِ هُمْ خَٰلِدُونَ
It is not for the polytheists to maintain the mosques of Allah [while] witnessing against themselves with disbelief. [For] those, their deeds have become worthless, and in the Fire they will abide eternally.
9:18
إِنَّ مَا يَعْمُرُ مَسَٰجِدَ ٱللَّهِ مَنْ ءَامَنَ بِ ٱللَّهِ وَ ٱلْ يَوْمِ ٱلْ ءَاخِرِ وَ أَقَامَ ٱل صَّلَوٰةَ وَ ءَاتَى ٱل زَّكَوٰةَ وَ لَمْ يَخْشَ إِلَّا ٱللَّهَ فَ عَسَىٰٓ أُو۟لَٰٓئِكَ أَن يَكُونُ وا۟ مِنَ ٱلْ مُهْتَدِينَ
The mosques of Allah are only to be maintained by those who believe in Allah and the Last Day and establish prayer and give zakah and do not fear except Allah, for it is expected that those will be of the [rightly] guided.