Sahih al-Bukhari 1217
Abu Ma'mar narrated to us, (he said:) Abdul Warith narrated to us. (He said:) Kathir bin Shinzir told us. He narrated from Ata bin Rabah, Ata from Hazrat Jabir bin Abdullah (ra). He said: The Messenger of Allah (saw) sent me for some task of his. I went. Then, having completed the task, I came back. I came to the Prophet (saw) and greeted him with Salam, but he did not answer me. Allah alone knows best the thoughts that came into my heart. I said to myself: Perhaps the Messenger of Allah (saw) is displeased with me because I was late. Then I greeted him, but he did not answer me. At this my heart was grieved even more than before. Then I greeted him, and he answered me and said: “I was praying (Salat), and that is what kept me from answering.” And at that time he was (mounted) on his she-camel. His face was not towards the Qiblah but towards another direction.
AI-translated by Islam-Today