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.
muslim:570cAbū al-Rabīʿ al-Zahrānī > Ḥammād > Yaḥyá b. Saʿīd > ʿAbd al-Raḥman al-Aʿraj > ʿAbdullāh b. Mālik Ibn Buḥaynah al-Azdī

The Messenger of Allah ﷺ stood up (at the end of two rak'ahs) when he had to sit and proceeded on with the prayer. But when he was at the end of the prayer, he performed a prostration before the salutation and then pronounced the salutation.  

مسلم:٥٧٠cوَحَدَّثَنَا أَبُو الرَّبِيعِ الزَّهْرَانِيُّ حَدَّثَنَا حَمَّادٌ حَدَّثَنَا يَحْيَى بْنُ سَعِيدٍ عَنْ عَبْدِ الرَّحْمَنِ الأَعْرَجِ عَنْ عَبْدِ اللَّهِ بْنِ مَالِكٍ ابْنِ بُحَيْنَةَ الأَزْدِيِّ

أَنَّ رَسُولَ اللَّهِ ﷺ قَامَ فِي الشَّفْعِ الَّذِي يُرِيدُ أَنْ يَجْلِسَ فِي صَلاَتِهِ فَمَضَى فِي صَلاَتِهِ فَلَمَّا كَانَ فِي آخِرِ الصَّلاَةِ سَجَدَ قَبْلَ أَنْ يُسَلِّمَ ثُمَّ سَلَّمَ  


See similar narrations below:

Collected by Nasāʾī, Nasāʾī's Kubrá, Bayhaqī
nasai:1177Yaḥyá b. Ḥabīb b. ʿArabī al-Baṣrī > Ḥammād b. Zayd > Yaḥyá > ʿAbd al-Raḥman al-Aʿraj > Ibn Buḥaynah

The Prophet ﷺ prayed, then he stood up after two rak'ahs while he was supposed to sit, and he continued his prayer. Then at the end of his prayer, he performed two prostrations before the Salam, then he said the Salam.  

النسائي:١١٧٧أَخْبَرَنِي يَحْيَى بْنُ حَبِيبِ بْنِ عَرَبِيٍّ الْبَصْرِيُّ قَالَ حَدَّثَنَا حَمَّادُ بْنُ زَيْدٍ عَنْ يَحْيَى عَنْ عَبْدِ الرَّحْمَنِ الأَعْرَجِ عَنِ ابْنِ بُحَيْنَةَ

أَنَّ النَّبِيَّ ﷺ صَلَّى فَقَامَ فِي الشَّفْعِ الَّذِي كَانَ يُرِيدُ أَنْ يَجْلِسَ فِيهِ فَمَضَى فِي صَلاَتِهِ حَتَّى إِذَا كَانَ فِي آخِرِ صَلاَتِهِ سَجَدَ سَجْدَتَيْنِ قَبْلَ أَنْ يُسَلِّمَ ثُمَّ سَلَّمَ  

nasai-kubra:767Yaḥyá b. Ḥabīb b. ʿArabī > Ḥammād > Yaḥyá > ʿAbd al-Raḥman al-Aʿraj > Ibn Buḥaynah

The Prophet ﷺ prayed, then he stood up after two rak'ahs while he was supposed to sit, and he continued his prayer. Then at the end of his prayer, he performed two prostrations before the Salam, then he said the Salam. (Using translation from Nasāʾī 1177)  

الكبرى للنسائي:٧٦٧أَخْبَرَنَا يَحْيَى بْنُ حَبِيبِ بْنِ عَرَبِيٍّ قَالَ حَدَّثَنَا حَمَّادٌ عَنْ يَحْيَى عَنْ عَبْدِ الرَّحْمَنِ الْأَعْرَجِ عَنِ ابْنِ بُحَيْنَةَ

أَنَّ النَّبِيَّ ﷺ «صَلَّى فَقَامَ فِي الشَّفْعِ الَّذِي كَانَ يُرِيدُ أَنْ يَجْلِسَ فِيهِ فَمَضَى فِي صَلَاتِهِ حَتَّى إِذَا كَانَ فِي آخِرِ صَلَاتِهِ سَجَدَ سَجْدَتَيْنِ قَبْلَ أَنْ يُسَلِّمَ ثُمَّ سَلَّمَ»  

nasai-kubra:602Yaḥyá b. Ḥabīb b. ʿArabī > Ḥammād > Yaḥyá > ʿAbd al-Raḥman al-Aʿraj > Ibn Buḥaynah

The Prophet ﷺ prayed, then he stood up after two rak'ahs while he was supposed to sit, and he continued his prayer. Then at the end of his prayer, he performed two prostrations before the Salam, then he said the Salam. (Using translation from Nasāʾī 1177)  

الكبرى للنسائي:٦٠٢أَخْبَرَنِي يَحْيَى بْنُ حَبِيبِ بْنِ عَرَبِيٍّ قَالَ حَدَّثَنَا حَمَّادٌ عَنْ يَحْيَى عَنْ عَبْدِ الرَّحْمَنِ الْأَعْرَجِ عَنِ ابْنِ بُحَيْنَةَ

أَنَّ النَّبِيَّ ﷺ صَلَّى فَقَامَ فِي الشَّفْعِ الَّذِي كَانَ يُرِيدُ أَنْ يَجْلِسَ فِيهِ فَمَضَى فِي صَلَاتِهِ حَتَّى إِذَا كَانَ فِي آخِرِ صَلَاتِهِ سَجَدَ سَجْدَتَيْنِ قَبْلَ أَنْ يُسَلِّمَ ثُمَّ سَلَّمَ  

bayhaqi:3848Abū ʿAbdullāh al-Ḥāfiẓ > Abū Bakr b. Isḥāq > Mūsá b. Isḥāq al-Anṣārī > Abū al-Rabīʿ al-Zahrānī > Ḥammād b. Zayd > Yaḥyá > ʿAbd al-Raḥman al-Aʿraj > ʿAbdullāh b. Mālik Ibn Buḥaynah > Rasūl

[Machine] The Messenger of Allah ﷺ stood in the shaf' (middle) position, which he intended to sit in his prayer. He continued with his prayer, and when he reached the end of the prayer, he prostrated before giving the salutation (salam).  

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

أَنَّ رَسُولَ اللهِ ﷺ قَامَ فِي الشَّفْعِ الَّذِي يُرِيدُ أَنْ يَجْلِسَ فِي صَلَاتِهِ فَمَضَى فِي صَلَاتِهِ فَلَمَّا كَانَ فِي آخِرِ الصَّلَاةِ سَجَدَ قَبْلَ أَنْ يُسَلِّمَ ثُمَّ سَلَّمَ  

رَوَاهُ مُسْلِمٌ فِي الصَّحِيحِ عَنْ أَبِي الرَّبِيعِ الزَّهْرَانِيِّ وَقَدْ رُوِّينَا مِنْ حَدِيثِ مُعَاوِيَةَ بْنِ أَبِي سُفْيَانَ ؓ بِمَعْنَاهُ