From Sahih Muslim (Hadith 1231): Anas b. Malik reported:The Messenger of Allah (ﷺ) said: Spitting in a mosque is a sin, and its expiation is that it should be buried