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.
bayhaqi:3411Abū ʿAbdullāh al-Ḥāfiẓ > Abū Bakr Muḥammad b. Aḥmad b. Bālawayh And ʾAbū Bakr Aḥmad b. Jaʿfar al-Qaṭīʿī > ʿAbdullāh b. Aḥmad b. Ḥanbal from my father > ʿAbd al-Raḥman b. Mahdī > Sufyān > Abū Mālik al-Ashjaʿī > Abū Ḥāzim > Abū Hurayrah

[Machine] From the Prophet ﷺ he said, "There is no greeting or salaam in prayer." Ahmad ibn Hanbal said, "In my opinion, what he meant is that one should not say the salaam and then greet you. The man's hesitation in his prayer is to say the salaam while he is in doubt, as mentioned in my book." Abu Ali al-Rudhbari informed us that Abu Bakr ibn Dasa informed us that Abu Dawud narrated to us from Ahmad ibn Hanbal, who mentioned it with its chain of narration, except that he said, "There is no greeting or salaam in prayer." Ahmad ibn Hanbal meant that one should not say the salaam and then greet you. The man hesitates in his prayer and then leaves while he is in doubt. This wording is closer to the explanation of Ahmad ibn Hanbal. Abu Dawud said.  

البيهقي:٣٤١١وَأَخْبَرَنَا أَبُو عَبْدِ اللهِ الْحَافِظُ ثنا أَبُو بَكْرٍ مُحَمَّدُ بْنُ أَحْمَدَ بْنِ بَالَوَيْهِ وَأَبُو بَكْرٍ أَحْمَدُ بْنُ جَعْفَرٍ الْقَطِيعِيُّ قَالَا ثنا عَبْدُ اللهِ بْنُ أَحْمَدَ بْنِ حَنْبَلٍ حَدَّثَنِي أَبِي ثنا عَبْدُ الرَّحْمَنِ بْنُ مَهْدِيٍّ ثنا سُفْيَانُ عَنْ أَبِي مَالِكٍ الْأَشْجَعِيِّ عَنْ أَبِي حَازِمٍ عَنْ أَبِي هُرَيْرَةَ ؓ

عَنِ النَّبِيِّ ﷺ قَالَ لَا غِرَارَ فِي صَلَاةٍ وَلَا تَسْلِيمٍ قَالَ أَحْمَدُ بْنُ حَنْبَلٍ فِيمَا أَرَى أَنَّهُ أَرَادَ أَنْ لَا تُسَلِّمَ وَيُسَلَّمَ عَلَيْكَ وَتْغِرِيرُ الرَّجُلِ بِصَلَاتِهِ أَنْ يُسَلِّمَ وَهُوَ فِيهَا شَاكٌّ كَذَا فِي كِتَابِي وَأَخْبَرَنَا أَبُو عَلِيٍّ الرُّوذْبَارِيُّ أنبأ أَبُو بَكْرِ بْنُ دَاسَةَ أنبأ أَبُو دَاوُدَ ثنا أَحْمَدُ بْنُ حَنْبَلٍ فَذَكَرَهُ بِإِسْنَادِهِ إِلَّا أَنَّهُ قَالَ لَا غِرَارَ فِي صَلَاةٍ وَلَا تَسْلِيمٍ قَالَ أَحْمَدُ بْنُ حَنْبَلٍ يَعْنِي فِيمَا أَرَى أَنْ لَا تُسَلِّمَ وَيُسَلَّمَ عَلَيْكَ وَيُغَرِّرُ الرَّجُلُ بِصَلَاتِهِ فَيَنْصَرِفُ وَهُوَ فِيهَا شَاكٌّ وَهَذَا اللَّفْظُ أَقْرَبُ إِلَى تَفْسِيرِ أَحْمَدَ بْنِ حَنْبَلٍ قَالَ أَبُو دَاوُدَ  

رَوَاهُ ابْنُ فُضَيْلٍ يَعْنِي عَنْ أَبِي مَالِكٍ عَلَى لَفْظِ ابْنِ مَهْدِيٍّ وَلَمْ يَرْفَعْهُ