كتاب إقامة الصلاة والسنة فيها
5  
Establishing the Prayer and the Sunnah Regarding Them
(59)
Chapter: If the greeting is given to a person who is performing Prayer, how should he respond?
(59)
باب الْمُصَلِّي يُسَلَّمُ عَلَيْهِ كَيْفَ يَرُدُّ
Sunan Ibn Majah 1017
It was narrated that ‘Abdullah bin ‘Umar said:
“The Messenger of Allah (ﷺ) came to the mosque at Quba’ and performed prayer there. Some men of the Ansar came and greeted him. I asked Suhaib, who was with him: ‘How did the Messenger of Allah (ﷺ) respond to them?’ He said: ‘He gestured with his hand.’”
حَدَّثَنَا عَلِيُّ بْنُ مُحَمَّدٍ الطَّنَافِسِيُّ، قَالَ حَدَّثَنَا سُفْيَانُ بْنُ عُيَيْنَةَ، عَنْ زَيْدِ بْنِ أَسْلَمَ، عَنْ عَبْدِ اللَّهِ بْنِ عُمَرَ، قَالَ أَتَى رَسُولُ اللَّهِ ـ صلى الله عليه وسلم ـ مَسْجِدَ قُبَاءٍ يُصَلِّي فِيهِ، فَجَاءَتْ رِجَالٌ مِنَ الأَنْصَارِ يُسَلِّمُونَ عَلَيْهِ، فَسَأَلْتُ صُهَيْبًا، وَكَانَ مَعَهُ: كَيْفَ كَانَ رَسُولُ اللَّهِ ـ صلى الله عليه وسلم ـ يَرُدُّ عَلَيْهِمْ؟ قَالَ: كَانَ يُشِيرُ بِيَدِهِ ‏.‏
Grade: Sahih (Darussalam)
Reference : Sunan Ibn Majah 1017
In-book reference : Book 5, Hadith 215
English translation : Vol. 1, Book 5, Hadith 1017