Haram
The Prophet ﷺ said: spitting in the mosque is a sin.
Source: Sahih al-Bukhari 415 · Sahih Muslim 552
Prayer & fasting · Is it halal?
The Prophet ﷺ said: spitting in the mosque is a sin.
Source: Sahih al-Bukhari 415 · Sahih Muslim 552
A simplified overview from a Sunni perspective. Where scholars disagree, the answer is “it depends”. For personal questions, ask an imam or scholar you trust.