Abu Saeed Khudri reported,

The Prophet ﷺ saw some phlegm on the qiblah wall of the mosque and scraped it off with a pebble. He forbade anyone from spitting in front of himself or to his right, and said that one should spit to his left or beneath his left foot.

Nasai 726

Sahih

أخبرنا قتيبة قال حدثنا سفيان عن الزهري عن حميد بن عبد الرحمن

عن أبي سعيد الخدري أن

النبي ﷺ رأى نخامة في قبلة المسجد فحكها بحصاة ونهى أن يبصق الرجل بين يديه أو عن يمينه وقال يبصق عن يساره أو تحت قدمه اليسرى

النسائي 726صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Mosques
Chapter
Prophet ﷺ forbidding a man from spitting in front of him or to his right while he is in prayer
Numbering
Darussalam 726
Nasai 726