The Messenger of Allah (may Allah's peace and blessings be upon him) ordered us to build mosques in different localities and that they should be kept clean and perfumed [Abu Dawood]
Original Hadith
أَمَر رسول الله -صلى الله عليه وسلم- بِبناء المساجد في الدُّورِ، وأن تُنظَّف، وتُطيَّب
(أبو داود)