The Prophet (peace and blessings be upon him) said: "Spitting phlegm in the mosque is a sin, and its expiation is burying it."