Tariq bin Abdullah reported,

The Messenger of Allah ﷺ said, "When a man stands for prayer, or when one of you prays, he should not spit in front of him, nor to his right, but to his left if that side is clear, or under his left foot, and then rub it with his foot."

Azami 3132

Sahih

عن طارق بن عبد الله المحاربي قال

قال رسول الله ﷺ: إذا قام الرجل إلى الصلاة، أو إذا صلى أحدكم فلا يبزق أمامه، ولا عن يمينه ولكن عن تلقاء يساره إن كان فارغا، أو تحت قدمه اليسرى، ثم ليقل به.

الأعظمي 3132صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Mosques
Section
Prohibition of spitting in the masjid and towards the qibla
Numbering
Jami al-Kamil 3132 (2nd edition)
Azami 3132