The Messenger of Allah ﷺ said: When a man stands with the intention of saying prayer, or if any of you says prayer, he should not spit before him, nor at his right side; but he should do so at his left side, if there is a place for it; or he should spit under his left foot and then rub it off. (Using translation from Abū Dāʾūd 478)
قَالَ رَسُولُ اللهِ ﷺ «إِذَا قَامَ أَحَدُكُمْ فِي الصَّلَاةِ فَلَا يَبْزُقَنَّ أَمَامَهُ وَلَا عَنْ يَمِينِهِ وَلَكِنْ عَنْ يَسَارِهِ إِنْ كَانَ فَارِغًا أَوْ تَحْتَ قَدَمِهِ الْيُسْرَى»