The Prophet (ﷺ) said, "A faithful believer while in prayer is speaking in private to his…

Sahih al-Bukhari Book 8 Hadith 63

Sahih al-Bukhari #413

Prayers (Salat) 8:63

Narrated Anas bin Malik:

The Prophet (ﷺ) said, "A faithful believer while in prayer is speaking in private to his Lord, so he should neither spit in front of him nor to his right side but he could spit either on his left or under his foot."

Chapter: One should spit on the left side or under one's left foot

Grade: Sahih