Book 15: One should not return greetings during the Salat
Sahih al-Bukhari
Sahih al-Bukhari 1216
Abdullah bin Abi Shaibah narrated to us, (he said: Muhammad) bin Fudail told us. He narrated from A'mash, A'mash from Ibrahim (Nakha'i), Ibrahim from Alqamah, Alqamah from Hazrat Abdullah bin Mas'ud (ra), that he said: I used to greet the Prophet (saw) with Salam while he was in the prayer (Salat), and he used to answer me. When we came back, I greeted him, but he did not answer, and (later) he said: “In the prayer there is indeed a preoccupation.”
AI-translated by Islam-Today
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