ENOfficial
Anas reported God’s Messenger as saying, “One of the signs of the last hour will be that people will vie with one another about mosques. Abu Dawud, Nasa’i Darimi and Ibn Majah transmitted it.
Source: sunnah.com
Other translations
Arabic
وَعَنْ أَنَسٍ رَضِيَ اللَّهُ عَنْهُ قَالَ: قَالَ رَسُولُ اللَّهِ صلى الله عَلَيْهِ وَسلم: «من أَشْرَاطِ السَّاعَةِ أَنْ يَتَبَاهَى النَّاسُ فِي الْمَسَاجِدِ» . رَوَاهُ أَبُو دَاوُدَ وَالنَّسَائِيُّ وَالدَّارِمِيُّ وَابْنُ مَاجَهْ
sunnah.com