"The Messenger of Allah said: 'The Hour will not begin until the people compete in (building) mosques.'"
Sunan Ibn Majah Book 4, Hadith 5