Hadithcore
Hadith #2103050

Narrated 'Aishah (RA):

Allah's Messenger (ﷺ) ordered that the mosques be built in residential districts and that it be cleaned and perfumed. [Reported by Ahmad, Abu Dawud, and at-Tirmidhi. The latter considered it Mursal [missing link in the chain after the Tabi'i (student of a Companion)].

عَنْ عَائِشَةَ ‏-رَضِيَ اَللَّهُ عَنْهَا‏- قَالَتْ : { أَمَرَ رَسُولُ اَللَّهِ ‏- صلى الله عليه وسلم ‏-بِبِنَاءِ اَلْمَسَاجِدِ فِي اَلدُّورِ , وَأَنْ تُنَظَّفَ , وَتُطَيَّبَ.‏ } رَوَاهُ أَحْمَدُ , وَأَبُو دَاوُدَ , وَاَلتِّرْمِذِيُّ , وَصَحَّحَ إِرْسَالَهُ .‏ [1]‏

References2 variants
Sunnah.com reference
Book 2, Hadith 122
Arabic/English book reference
Book 2, Hadith 249