´It was narrated that Tariq bin 'Abdullah Al-Muharibi said:` 'When you are praying, do not spit to the front or to your right. Spit behind you or to your left if there is no one there, otherwise do this.' And he spat beneath his foot and rubbed it.'"
Hadith Referenceسنن نسائي / كتاب المساجد / 727
Hadith Gradingالألبانی:صحيح | زبیر علی زئی:إسناده صحيح
Hadith Takhrij«سنن ابی داود/الصلاة22 (478) ، سنن الترمذی/الصلاة 284، الجمعة 49 (571) مختصراً، سنن ابن ماجہ/إقامة 61 (1021) مختصراً، (تحفة الأشراف: 4987) ، مسند احمد 6/396 (صحیح)»
´It was narrated that Tariq bin ‘Abdullah Al-Muharibi said:` “The Prophet (ﷺ) said: ‘When you perform prayer, do not spit in front of you or to your right, but spit to your left or beneath your feet.’”
Maulana Ataullah Sajid
Benefits and Issues:
➊ Spitting in front during prayer is contrary to proper etiquette. The Messenger of Allah (sallallahu alayhi wa sallam) expressed strong displeasure regarding this. See: (Sunan Ibn Majah, Al-Masajid wal-Jama'at, Chapter: Dislike of Spitting in the Mosque, Hadith: 761 to 764)
➋ The right side is also a direction of respect, so one should not spit in that direction either. If another worshipper is standing on the left side, then one should also avoid spitting in that direction; if there is no one there, then spitting is permissible.
➌ In the mosque, spitting to the left or under one’s foot is permissible in the case where the ground of the mosque is of such a type that it can absorb moisture; otherwise, it is not permissible to pollute the mosque. Especially when one is praying on a mat or carpet, it is not permissible under any circumstance to make it dirty. In such a case, a handkerchief should be used, as is clarified in the following hadith.
Source: Commentary on Sunan Ibn Mājah by Mawlānā ‘Atā’ullāh Sājid, Page: 1021