9:108
لَا تَقُمْ فِي هِ أَبَدًا لَّ مَسْجِدٌ أُسِّسَ عَلَى ٱل تَّقْوَىٰ مِنْ أَوَّلِ يَوْمٍ أَحَقُّ أَن تَقُومَ فِي هِ فِي هِ رِجَالٌ يُحِبُّ ونَ أَن يَتَطَهَّرُ وا۟ وَ ٱللَّهُ يُحِبُّ ٱلْ مُطَّهِّرِينَ
Do not stand [for prayer] within it - ever. A mosque founded on righteousness from the first day is more worthy for you to stand in. Within it are men who love to purify themselves; and Allah loves those who purify themselves.
9:109
أَ فَ مَنْ أَسَّسَ بُنْيَٰنَ هُۥ عَلَىٰ تَقْوَىٰ مِنَ ٱللَّهِ وَ رِضْوَٰنٍ خَيْرٌ أَم مَّنْ أَسَّسَ بُنْيَٰنَ هُۥ عَلَىٰ شَفَا جُرُفٍ هَارٍ فَ ٱنْهَارَ بِ هِۦ فِى نَارِ جَهَنَّمَ وَ ٱللَّهُ لَا يَهْدِى ٱلْ قَوْمَ ٱل ظَّٰلِمِينَ
Then is one who laid the foundation of his building on righteousness [with fear] from Allah and [seeking] His approval better or one who laid the foundation of his building on the edge of a bank about to collapse, so it collapsed with him into the fire of Hell? And Allah does not guide the wrongdoing people.