Anas reports that the Messenger of Allah said: “The Hour will not come to pass until the people vie with each other in (building) the mosques.” This is related by Ahmad, Abu Dawud, anNasa’i, Ibn Majah, and Ibn Hibban who calls it sahih. Ibn Khuzaimah’s wording is: “A time will come when the people will vie with each other in (building) the mosques but very few will attend (the mosques).”
Ibn ‘Abbas reports that the Messenger of Allah said: “I have not been ordered to build high and lofty mosques.” Abu Dawud’s version adds: “Ibn ‘Abbas said: ‘You will certainly embellish them as the Jews and Christians embellished [their places of worship].”‘ The preceding hadith was related by Abu Dawud and by Ibn Hibban who calls it sahih.
‘Umar ordered mosques to be built and would say: “Protect the people from the rain. Beware of red and yellow decorations for they distract people.” This is related by Ibn Khuzaimah in his sahih and by al-Bukhari in mualaq form.