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.
abudawud:928Aḥmad b. Ḥanbal > ʿAbd al-Raḥman b. Mahdī > Sufyān > Abū Mālik al-Ashjaʿī > Abū Ḥāzim > Abū Hurayrah

There is no loss in prayer nor in salutation. Ahmad(b. Hanbal) said: This means, I think, that you do not salute nor you are saluted by others. The loss of a man in his prayer is that a man remains doubtful about it when he finishes it.  

أبو داود:٩٢٨حَدَّثَنَا أَحْمَدُ بْنُ حَنْبَلٍ حَدَّثَنَا عَبْدُ الرَّحْمَنِ بْنُ مَهْدِيٍّ عَنْ سُفْيَانَ عَنْ أَبِي مَالِكٍ الأَشْجَعِيِّ عَنْ أَبِي حَازِمٍ عَنْ أَبِي هُرَيْرَةَ

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


See similar narrations below:

Collected by Ḥākim
hakim:972Abū 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 deception in prayer or in the greetings." Ahmad ibn Hanbal said from what he saw that he wanted not to give the greeting and to give the greeting to you. The deception of a person in his prayer is to give the greeting while he is doubting in it.  

الحاكم:٩٧٢حَدَّثَنَا أَبُو بَكْرٍ مُحَمَّدُ بْنُ أَحْمَدَ بْنِ بَالَوَيْهِ وَأَبُو بَكْرٍ أَحْمَدُ بْنُ جَعْفَرٍ الْقَطِيعِيُّ قَالَا ثنا عَبْدُ اللَّهِ بْنُ أَحْمَدَ بْنِ حَنْبَلٍ حَدَّثَنِي أَبِي ثنا عَبْدُ الرَّحْمَنِ بْنُ مَهْدِيٍّ ثنا سُفْيَانُ عَنْ أَبِي مَالِكٍ الْأَشْجَعِيِّ عَنْ أَبِي حَازِمٍ عَنْ أَبِي هُرَيْرَةَ

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

«هَذَا حَدِيثٌ صَحِيحٌ عَلَى شَرْطِ مُسْلِمٍ وَلَمْ يُخَرِّجَاهُ» وَقَدْ رَوَاهُ مُعَاوِيَةُ بْنُ هِشَامٍ عَنِ الثَّوْرِيِّ وَشَكَّ فِي رَفْعِهِعلى شرط مسلم