Greeting People Who Are Engaged in Prayer
Question: When we come to the mosque, some people are engaged in prayer. Can they be greeted with salam?
Answer: Giving salam while a person is in prayer is permissible. When the Companions of the Messenger of Allah ﷺ (may Allah be pleased with them) came to the mosque, they would give salam. If the Messenger of Allah ﷺ was in prayer, he would respond with a gesture of his hand. The proof for this is the hadith in which it is mentioned that Abdullah ibn Umar (may Allah be pleased with them both) said to Bilal (may Allah be pleased with him): “How did the Prophet ﷺ respond when he was praying and someone greeted him with salam?” Bilal (may Allah be pleased with him) said: «كان يشير بيده» “He would gesture with his hand.”
This hadith is evidence that a person entering the mosque from outside may give salam, even if the congregational prayer is taking place. If this were not correct, the Messenger of Allah ﷺ would not have responded himself with a gesture of the hand, but would have stopped it, just as he stopped the response by mouth.
Abdullah ibn Mas’ud (may Allah be pleased with him) narrates:
“Before we went to Abyssinia, we used to greet the Messenger of Allah ﷺ with salam, and the Prophet ﷺ would respond to us during the prayer itself. When we returned from Abyssinia, I came to the Prophet ﷺ and saw that he was engaged in prayer. I gave salam, but he did not respond. After the prayer, the Prophet ﷺ said:
«إن الله عزوجل يحدث من امره ما يشاء، وإن الله تعالىٰ قد احدث من امره ان لا تكلموا فى الصلاة»
“Allah, the Mighty and Majestic, brings about whatever new command He wishes, and Allah, the Most High, has brought about a new command: that you do not speak in the prayer.”
These hadiths establish that the one entering the mosque should give salam, and the person engaged in prayer should respond with a gesture of the hand; responding by mouth in this state is not correct.