Sayyiduna Samurah (may Allah be pleased with him) says: The Messenger of Allah (peace and blessings be upon him) used to order us concerning the mosque, that we should build it in our neighbourhoods, make its construction good, and keep it clean and pure.
Hadith Referenceالمعجم الكبير للطبراني / باب السين / 6997