لَا تَقُمْ فِيهِ أَبَدًا ۚ لَّمَسْجِدٌ أُسِّسَ عَلَى التَّقْوَىٰ مِنْ أَوَّلِ يَوْمٍ أَحَقُّ أَن تَقُومَ فِيهِ ۚ فِيهِ رِجَالٌ يُحِبُّونَ أَن يَتَطَهَّرُوا ۚ وَاللَّهُ يُحِبُّ الْمُطَّهِّرِينَ
“A mosque founded on taqwa from the first day”
Majority scholarly opinion: this verse's "mosque founded on taqwa" refers to Masjid Quba, supported by a hadith in Abu Dawud about the people of Quba's practice of purification with water.
A sahabi asked the Prophet ﷺ whether this verse referred to Masjid Quba or his own masjid; the Prophet ﷺ affirmed "this masjid of mine" [Tirmidhi] -- understood as both masjids being built upon taqwa from the first day.
This ayah is Surat at-Tawba's explicit condemnation of Masjid al-Dirar (9:107-110), the very mosque described at this event.