Sahih al-Bukhari, Book 9, Hadith 11 (Bukhari 522)

Narrated Anas:

The Prophet (ﷺ) said, "Do the prostration properly and do not put your forearms flat with elbows touching the ground like a dog. And if you want to spit, do not spit in front, nor to the right for the person in prayer is speaking in private to his Lord."