It was narrated that Tariq bin ‘Abdullah Al-Muharibi said: “The Messenger of Allah صلی اللہ علیہ وآلہ وسلم said: ‘When you are praying, do not spit to the front or to your right. Spit behind you or to your left if there is no one there, otherwise do this.’ And he spat beneath his foot and rubbed it.” (Sahih).