It is narrated from Hazrat Abu Huraira (may Allah be pleased with him) that the Noble Prophet (peace and blessings be upon him) said: If any one of you wants to spit in the mosque, he should dig the earth well, otherwise he should spit into his garment.