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]
أَمَر رسول الله -صلى الله عليه وسلم- بِبناء المساجد في الدُّورِ، وأن تُنظَّف، وتُطيَّب (أبو داود)