(8) The Book of the Masjids
كتاب المساجد
(2) Chapter: Bragging In Building Masjids
(2) باب الْمُبَاهَاةِ فِي الْمَسَاجِدِ
Sunan an-Nasa'i 689 
It was narrated from Anas that the Prophet (ﷺ) said:
"One of the portents of the Hour will be that people will show off in building Masjids."
أَخْبَرَنَا سُوَيْدُ بْنُ نَصْرٍ، قَالَ أَنْبَأَنَا عَبْدُ اللَّهِ بْنُ الْمُبَارَكِ، عَنْ حَمَّادِ بْنِ سَلَمَةَ، عَنْ أَيُّوبَ، عَنْ أَبِي قِلاَبَةَ، عَنْ أَنَسٍ، أَنَّ النَّبِيَّ صلى الله عليه وسلم قَالَ ‏ "‏ مِنْ أَشْرَاطِ السَّاعَةِ أَنْ يَتَبَاهَى النَّاسُ فِي الْمَسَاجِدِ ‏"‏ ‏.‏
Grade :  Sahih (Darussalam)
Reference : Sunan an-Nasa'i 689
In-book reference : Book 8, Hadith 2
English translation : Vol. 1, Book 8, Hadith 690