Sunan Ibn Majah #739 · The Book On The Mosques And The Congregations

Sunan Ibn MajahIt was narrated that Anas bin Malik said
Sunan Ibn Majah · Book 4 · The Book On The Mosques And The Congregations
Sunan Ibn Majah · كتاب 4 · كتاب المساجد والجماعات
"The Messenger of Allah said: 'The Hour will not begin until the people compete in (building) mosques
حَدَّثَنَا عَبْدُ اللَّهِ بْنُ مُعَاوِيَةَ الْجُمَحِيُّ، حَدَّثَنَا حَمَّادُ بْنُ سَلَمَةَ، عَنْ أَيُّوبَ، عَنْ أَبِي قِلاَبَةَ، عَنْ أَنَسِ بْنِ مَالِكٍ، قَالَ قَالَ رَسُولُ اللَّهِ ـ صلى الله عليه وسلم ـ ‏
"‏ لاَ تَقُومُ السَّاعَةُ حَتَّى يَتَبَاهَى النَّاسُ فِي الْمَسَاجِدِ ‏"‏ ‏.‏
Reference : Sunan Ibn Majah 739In-book reference : Book 4, Hadith 5