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:3849Abū Ṭāhir al-Faqīh > Abū Bakr Muḥammad b. al-Ḥusayn al-Qaṭṭān > Abū al-Azhar > Abū Usāmah > Ibn Abū Laylá > ʿĀmir

[Machine] I saw the Prophet ﷺ do that, and we have narrated from the hadith of Al-Mas'oodi from Ziyad bin 'Alaqa from Al-Mughirah bin Shu'bah something similar, and the Hadith of Ibn Buhaynah about prostration before the greeting is more authentic than that, and Allah knows best.  

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

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