Hadithcore
Musnad Ahmad 1543
hasan· Darussalam

It was narrated from ‘Amir bin Sa"d that his father Sa"d said: I heard the Messenger of Allah (ﷺ) say:

"If one of you spits in the mosque, let him bury his sputum lest it get onto the skin or garment of a believer and annoy him."

References1 variant
Arabic/English book
Book 8, Hadith 1543