It is narrated from Sayyiduna Anas bin Malik (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "The Hour will not be established until people begin to boast and take pride in (the construction and adornment of) mosques."
Hadith Referenceصحيح ابن خزيمه / جماع أبواب فضائل المساجد وبنائها وتعظيمها / 1323