Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
malik:9-84Mālik > Nāfiʿ

Yahya related to me from Malik from Nafi that Abdullah ibn Umar passed by a man who was praying and said, "Peace be upon you," and the man replied to him. Abdullah ibn Umar returned to him and said, "When someone says, 'Peace be upon you' to you while you are praying do not reply, but give a signal with your hand."  

مالك:٩-٨٤وَحَدَّثَنِي عَنْ مَالِكٍ عَنْ نَافِعٍ

أَنَّ عَبْدَ اللَّهِ بْنَ عُمَرَ مَرَّ عَلَى رَجُلٍ وَهُوَ يُصَلِّي فَسَلَّمَ عَلَيْهِ فَرَدَّ الرَّجُلُ كَلاَمًا فَرَجَعَ إِلَيْهِ عَبْدُ اللَّهِ بْنُ عُمَرَ فَقَالَ لَهُ إِذَا سُلِّمَ عَلَى أَحَدِكُمْ وَهُوَ يُصَلِّي فَلاَ يَتَكَلَّمْ وَلْيُشِرْ بِيَدِهِ  


See similar narrations below:

Collected by Bayhaqī
bayhaqi:3404Abū al-Ḥusayn ʿAlī b. Muḥammad b. Bishrān> Ismāʿīl b. Muḥammad al-Ṣaffār > al-Ḥasan b. ʿAlī b. ʿAffān > Ibn Numayr > ʿUbaydullāh b. ʿUmar > Nāfiʿ > Ibn ʿUmar

[Machine] "He greeted a man while he was praying, and the man responded to him with words. He said, 'When someone greets you while you are praying, do not speak, but instead motion with your hand.'"  

البيهقي:٣٤٠٤وَأَخْبَرَنَا أَبُو الْحُسَيْنِ عَلِيُّ بْنُ مُحَمَّدِ بْنِ بِشْرَانَ بِبَغْدَادَ أنبأ إِسْمَاعِيلُ بْنُ مُحَمَّدٍ الصَّفَّارُ ثنا الْحَسَنُ بْنُ عَلِيِّ بْنِ عَفَّانَ ثنا ابْنُ نُمَيْرٍ عَنْ عُبَيْدِ اللهِ بْنِ عُمَرَ عَنْ نَافِعٍ عَنِ ابْنِ عُمَرَ

أَنَّهُ سَلَّمَ عَلَى رَجُلٍ وَهُوَ يُصَلِّي فَرَدَّ عَلَيْهِ الرَّجُلُ كَلَامًا فَقَالَ إِذَا سُلِّمَ عَلَى أَحَدِكُمْ وَهُوَ يُصَلِّي فَلَا يَتَكَلَّمْ وَلَكِنْ يُشِيرُ بِيَدِهِ