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.
nasai-kubra:546Muḥammad b. Bashhār > Wahb from my father > Qays b. Saʿd > ʿAṭāʾ > Muḥammad b. ʿAlī > ʿAmmār b. Yāsir

He greeted the Messenger of Allah ﷺ with the Salam when he was praying, and he returned the greeting. (Using translation from Nasāʾī 1188)  

الكبرى للنسائي:٥٤٦أَخْبَرَنَا مُحَمَّدُ بْنُ بَشَّارٍ قَالَ حَدَّثَنَا وَهْبٌ قَالَ حَدَّثَنَا أَبِي قَالَ حَدَّثَنَا قَيْسُ بْنُ سَعْدٍ عَنْ عَطَاءٍ عَنْ مُحَمَّدِ بْنِ عَلِيٍّ عَنْ عَمَّارِ بْنِ يَاسِرٍ

أَنَّهُ «سَلِمَ عَلَى رَسُولِ اللهِ ﷺ وَهُوَ يُصَلِّي فَرَدَّ عَلَيْهِ»  


See similar narrations below:

Collected by Nasāʾī, Tirmidhī, Nasāʾī's Kubrá
nasai:1188Muḥammad b. Bashhār > Wahb / Ibn Jarīr from my father > Qays b. Saʿd > ʿAṭāʾ > Muḥammad b. ʿAlī > ʿAmmār b. Yāsir

He greeted the Messenger of Allah ﷺ with the Salam when he was praying, and he returned the greeting.  

النسائي:١١٨٨أَخْبَرَنَا مُحَمَّدُ بْنُ بَشَّارٍ قَالَ حَدَّثَنَا وَهْبٌ يَعْنِي ابْنَ جَرِيرٍ قَالَ حَدَّثَنَا أَبِي عَنْ قَيْسِ بْنِ سَعْدٍ عَنْ عَطَاءٍ عَنْ مُحَمَّدِ بْنِ عَلِيٍّ عَنْ عَمَّارِ بْنِ يَاسِرٍ

أَنَّهُ سَلَّمَ عَلَى رَسُولِ اللَّهِ ﷺ وَهُوَ يُصَلِّي فَرَدَّ عَلَيْهِ  

tirmidhi:90Naṣr b. ʿAlī And Muḥammad b. Bashhār > Abū Aḥmad Muḥammad b. ʿAbdullāh al-Zubayrī > Sufyān > al-Ḍaḥḥāk b. ʿUthmān > Nāfiʿ > Ibn ʿUmar

"A man greeted the Prophet (with Salam), and he was urinating, so he did not respond to him."  

الترمذي:٩٠حَدَّثَنَا نَصْرُ بْنُ عَلِيٍّ وَمُحَمَّدُ بْنُ بَشَّارٍ قَالاَ حَدَّثَنَا أَبُو أَحْمَدَ مُحَمَّدُ بْنُ عَبْدِ اللَّهِ الزُّبَيْرِيُّ عَنْ سُفْيَانَ عَنِ الضَّحَّاكِ بْنِ عُثْمَانَ عَنْ نَافِعٍ عَنِ ابْنِ عُمَرَ

أَنَّ رَجُلاً سَلَّمَ عَلَى النَّبِيِّ ﷺ وَهُوَ يَبُولُ فَلَمْ يَرُدَّ عَلَيْهِ  

قَالَ أَبُو عِيسَى هَذَا حَدِيثٌ حَسَنٌ صَحِيحٌ وَإِنَّمَا يُكْرَهُ هَذَا عِنْدَنَا إِذَا كَانَ عَلَى الْغَائِطِ وَالْبَوْلِ وَقَدْ فَسَّرَ بَعْضُ أَهْلِ الْعِلْمِ ذَلِكَ وَهَذَا أَحْسَنُ شَيْءٍ رُوِيَ فِي هَذَا الْبَابِ قَالَ أَبُو عِيسَى وَفِي الْبَابِ عَنِ الْمُهَاجِرِ بْنِ قُنْفُذٍ وَعَبْدِ اللَّهِ بْنِ حَنْظَلَةَ وَعَلْقَمَةَ بْنِ الْفَغْوَاءِ وَجَابِرٍ وَالْبَرَاءِ
nasai-kubra:1112Muḥammad b. Bashhār > Wahb / Ibn Jarīr from my father > Qays b. Saʿd > ʿAṭāʾ > Muḥammad b. ʿAlī > ʿAmmār b. Yāsir

He greeted the Messenger of Allah ﷺ with the Salam when he was praying, and he returned the greeting. (Using translation from Nasāʾī 1188)  

الكبرى للنسائي:١١١٢أَخْبَرَنَا مُحَمَّدُ بْنُ بَشَّارٍ قَالَ حَدَّثَنَا وَهْبٌ يَعْنِي ابْنَ جَرِيرٍ قَالَ حَدَّثَنَا أَبِي عَنْ قَيْسِ بْنِ سَعْدٍ عَنْ عَطَاءٍ عَنْ مُحَمَّدِ بْنِ عَلِيٍّ عَنْ عَمَّارِ بْنِ يَاسِرٍ

أَنَّهُ «سَلَّمَ عَلَى رَسُولِ اللهِ ﷺ وَهُوَ يُصَلِّي فَرَدَّ عَلَيْهِ»