Al-Adab Al-Mufrad, Book 11, Hadith 10 (In-Book) ⓘ
Abu Dharr reported that the Messenger of Allah, may Allah bless him and grant him peace, said, "I was shown the actions of my Community - both good and evil - and I found that one of their good actions is removing harmful things from the road, I found that one of the evil actions was spit in the mosque which is not buried."
حَدَّثَنَا مُوسَى، قَالَ: حَدَّثَنَا مَهْدِيٌّ، عَنْ وَاصِلٍ، عَنْ يَحْيَى بْنِ عَقِيلٍ، عَنْ يَحْيَى بْنِ يَعْمَُرَ، عَنْ أَبِي الأَسْوَدِ الدِّيلِيِّ، عَنْ أَبِي ذَرٍّ قَالَ: قَالَ رَسُولُ اللهِ صلى الله عليه وسلم: عُرِضَتْ عَلَيَّ أَعْمَالُ أُمَّتِي، حَسَنُهَا وَسَيِّئُهَا، فَوَجَدْتُ فِي مَحَاسِنِ أَعْمَالِهَا أَنَّ الأَذَى يُمَاطُ عَنِ الطَّرِيقِ، وَوَجَدْتُ فِي مَسَاوِئِ أَعْمَالِهَا: النُّخَاعَةَ فِي الْمَسْجِدِ لاَ تُدْفَنُ.
also referenced under: Hadith 230 (Reference) & Book 11, Hadith 230 (English)