Sunan Ibn Majah, Book 5, Hadith 219 (Ibn Majah 1021)

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.’”