21. Actions while Praying

٢١۔ كتاب العمل فى الصلاة

21.4 Whoever named some people or greeted somebody during As-Salat

٢١۔٤ باب مَنْ سَمَّى قَوْمًا أَوْ سَلَّمَ فِي الصَّلاَةِ عَلَى غَيْرِهِ مُوَاجَهَةً وَهُوَ لاَ يَعْلَمُ

bukhari:1202ʿAmr b. ʿĪsá > Abū ʿAbd al-Ṣamad ʿAbd al-ʿAzīz b. ʿAbd al-Ṣamad > Ḥuṣayn b. ʿAbd al-Raḥman > Abū Wāʾil > ʿAbdullāh b. Masʿūd

We used to say the greeting, name and greet each other in the prayer. Messenger of Allah ﷺ heard it and said:--"Say, 'at-tahiyyatu lil-lahi was-salawatu wat-taiyibatu . Assalamu 'Alaika aiyuha-n-Nabiyu warahmatu- l-lahi wa-barakatuhu. _ Assalamu alaina wa-'ala 'ibadi-l-lahi as-salihin.. Ashhadu an la ilaha illa-l-lah wa ashhadu anna Muhammadan ʿAbdu hu wa Rasuluh. (All the compliments are for Allah and all the prayers and all the good things (are for Allah). Peace be on you, O Prophet, and Allah's mercy and blessings (are on you). And peace be on us and on the good (pious) worshipers of Allah. I testify that none has the right to be worshipped but Allah and that Muhammad is His slave and Apostle.) So, when you have said this, then you have surely sent the greetings to every good (pious) worshipper of Allah, whether he be in the Heaven or on the Earth . "  

البخاري:١٢٠٢حَدَّثَنَا عَمْرُو بْنُ عِيسَى حَدَّثَنَا أَبُو عَبْدِ الصَّمَدِ عَبْدُ الْعَزِيزِ بْنُ عَبْدِ الصَّمَدِ حَدَّثَنَا حُصَيْنُ بْنُ عَبْدِ الرَّحْمَنِ عَنْ أَبِي وَائِلٍ عَنْ عَبْدِ اللَّهِ بْنِ مَسْعُودٍ ؓ قَالَ

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