A hadith like this has been transmitted by Isma'il b. Abu Khalid.
Sahih Muslim Book 5, Hadith 44
← Previous Hadith
We used to talk while engaged in prayer and a person talked with a companion on his side in prayer till (this verse) was revealed:" And stand before Allah in devout obedience" (ii, 238) and we were commanded to observe silence (in prayer) and were forbidden to speak.
Sahih Muslim Book 5, Hadith 43 Next Hadith → The Messenger of Allah (ﷺ) sent me on an errand. I (having done the business assigned to me came back and) joined him as he was going (on a ride). Qutaiba said that he was saying prayer while he rode. I greeted him. He gestured to me. When he completed the prayer. he called me and said: You greeted me just now while I was engaged in prayer. (Qutaiba said): His (Prophet's face) was towards the east, as he was praying.
Sahih Muslim Book 5, Hadith 45
Sahih Muslim Book 5, Hadith 43 Next Hadith → The Messenger of Allah (ﷺ) sent me on an errand. I (having done the business assigned to me came back and) joined him as he was going (on a ride). Qutaiba said that he was saying prayer while he rode. I greeted him. He gestured to me. When he completed the prayer. he called me and said: You greeted me just now while I was engaged in prayer. (Qutaiba said): His (Prophet's face) was towards the east, as he was praying.
Sahih Muslim Book 5, Hadith 45