لَا تَقُمْ فِيهِ أَبَدًا ۚ لَّمَسْجِدٌ أُسِّسَ عَلَى ٱلتَّقْوَىٰ مِنْ أَوَّلِ يَوْمٍ أَحَقُّ أَن تَقُومَ فِيهِ ۚ فِيهِ رِجَالٌ يُحِبُّونَ أَن يَتَطَهَّرُوا۟ ۚ وَٱللَّهُ يُحِبُّ ٱلْمُطَّهِّرِينَ
Commentary:
According to some traditions the words, A mosque which was founded upon piety from the very first day is surely more worthy, refer to a mosque at Quba which was built on the site where the Holy Prophet had alighted before entering Medina on the day of his arrival from Mecca; while, according to others, these words refer to the Mosque which the Holy Prophet himself built at Medina and which later came to be known as مسجد النبی i.e. "the Mosque of the Prophet." The wording of the verse seems to support the latter view.
The reference is said to be to the Mosque at Quba which was built on the site where the Holy Prophet had alighted before entering Medina on the day of his arrival from Mecca. According to some authorities, however, the reference is to the mosque which the Holy Prophet himself built at Medina and which later came to be known as "the Mosque of the Prophet."