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.
Translation · Saheeh International
Tafsir
Ibn Kathīr (abridged)
The Difference between Masjid At-Taqwa and Masjid Ad-Dirar
Allah the Exalted says that the Masjid that has been built on the basis of Taqwa of Allah and His pleasure is not the same as a Masjid that was been built based on causing harm, disbelief and causing division among the believers, and as an outpost for those who warred against Allah and His Messenger . The latter built their Masjid on the edge of a steep hole,
فِى نَارِ جَهَنَّمَ وَاللَّهُ لاَ يَهْدِى الْقَوْمَ الظَّـلِمِينَ
(into the fire of Hell. And Allah guides not the people who are the wrongdoers.), Allah does not bring aright the works of those who commit mischief. Jabir bin `Abdullah said, "I saw the Masjid that was built to cause harm with smoke rising up from it, during the time of the Messenger of Allah ﷺ." Allah's statement,
لاَ يَزَالُ بُنْيَانُهُمُ الَّذِى بَنَوْاْ رِيبَةً فِى قُلُوبِهِمْ
(The building which they built will never cease to be a cause of doubt in their hearts) and hypocrisy. Because of this awful action that they committed, they inherited hypocrisy in their hearts, just as those who worshipped the calf were inclined to adoring it. Allah said next,