Abu Hurairah reported,

The Prophet ﷺ said, "When one of you stands to pray, let him not spit in front of him, for he is conversing with Allah as long as he remains in his place of prayer. Nor should he spit to his right, for there is an angel on his right. Let him spit to his left, or under his foot, and bury it."

Azami 3125

Sahih

عن أبي هريرة

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

الأعظمي 3125صحيح
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 3125 (2nd edition)
Azami 3125