Sayyiduna Amr bin Hazm (may Allah be pleased with him) says: I saw the Prophet (peace and blessings be upon him) spit to the right, to the left and in front of him.
Al-Tabarani recorded it in al-Mu'jam al-Kabir; its chain contains a narrator, al-Waqidi, who is da'if (weak).
Hadith Referenceمجمع الزوائد ومنبع الفوائد / كتاب الصلاة / 2012
Abd al-Rahman bin Yazid says: We were with Sayyiduna Abdullah bin Mas'ud (may Allah be pleased with him). He intended to spit, and there was no one on his right, yet he did not like to spit to his right, even though he was not praying at the time.
Al-Tabarani recorded it in al-Mu'jam al-Kabir, and its narrators are thiqat (trustworthy).
Hadith Referenceمجمع الزوائد ومنبع الفوائد / كتاب الصلاة / 2013