Ayesha reported,

The Messenger of Allah ﷺ commanded that mosques be built in the residential quarters, and that they be kept clean and perfumed.

Ibn Majah 758

Sahih

حدثنا عبد الرحمن بن بشر بن الحكم وأحمد بن الأزهر قالا حدثنا مالك بن سعير أنبأنا هشام بن عروة عن أبيه

عن عائشة

أن رسول الله ﷺ أمر بالمساجد أن تبنى في الدور وأن تطهر وتطيب

ابن ماجه 758صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Mosques and congregations
Chapter
Purification and perfuming of mosques
Numbering
Darussalam 758
Ibn Majah 758