Sahih Muslim #553
The Book of Mosques and Places of Prayer 5:71
Abu Dharr reported:
The Apostle of Allah (ﷺ) said: The deeds of my people, good and bad, were presented before me, and I found the removal of something objectionable from the road among their good deeds, and the sputum mucus left unburied in the mosque among their evil deeds.