Book 8: A person in Salat (prayer) is speaking in private to his Lord (Allah)
Sahih al-Bukhari
Sahih al-Bukhari 531
Anas (r.a) reported that the Prophet (saw) said: ‘When any of you is praying, he is in communion with his Lord, so he should not spit to his right but underneath his left foot.’ Qatādah said: ‘He should not spit ahead or in front of himself, but to his left or underneath his feet.’ And Shuʿbah said: ‘Do not let him spit in front of himself or to his right but towards his left or underneath his foot.’ Anas (r.a) related that the Prophet (saw) said: ‘He should neither spit in the direction of the Qiblah, nor to his right, but to his left or underneath his foot.’
Translation: Ahmadiyya Muslim Jamaat
Sahih al-Bukhari 532
The Prophet (saw) said: ‘Keep the body balanced in sujūd – one should not stretch out their two arms like a dog. And if one needs to spit, he should neither spit in front of himself, nor to his right, for surely he is in communion with his Lord.’
Translation: Ahmadiyya Muslim Jamaat