Anas bin Malik reported,

The Messenger of Allah ﷺ said, "When one of you is in prayer, he is conversing privately with his Lord, so he must not spit in front of him, nor to his right, but rather to his left, beneath his foot."

Muslim 1230

Sahih

حدثنا محمد بن المثنى وابن بشار قال ابن المثنى حدثنا محمد بن جعفر حدثنا شعبة قال سمعت قتادة يحدث

عن أنس بن مالك قال

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

مسلم 1230صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Mosques and places of prayer
Chapter
Prohibition of spitting in the masjid during prayer and otherwise
Numbering
Darussalam 1230
Muslim 1230