Sunan Abi Dawud, Book 3, Hadith 1032 (USC-MSA)

Narrated Al-Mughirah ibn Shu'bah: Ziyad ibn Ilaqah said: Al-Mughirah ibn Shu'bah led us in prayer and he stood up at the end of two rak'ahs. We said: Glory be to Allah; he also said: Glory be to Allah, and he proceeded. When he finished the prayer and gave the salutation, he made two prostrations of forgetfulness. When he turned (to us) he said: I saw the Messenger of Allah doing so as I did. Abu Dawud said: Ibn Abi Laila narrated this tradition in a similar manner from al-Shaibi from al-Mughirah b. Shu'bah. Abu 'Umais narrated it from Thabit b. 'Ubaid saying: "Al-Mughirah b. Shu'bah led us in prayer, like the tradition reported by Ziyad b. 'Illaqah. Abu Dawud said: Abu 'Umais is the brother of al-Mas'udi. And Sa'd b. Abi Waqqas did the same as done by al-Mughirah, 'Imran b. Husain, Dahhak b. Qais and Mu'awiyah b. Abi Sufyan. Ibn 'Abbas and 'Umar b. 'Abd al-'Aziz issued legel verdict to the same effect. Abu Dawud said: This applies to a person who stands up at the end of two rak'ahs and males prostration after giving the salutation.

حَدَّثَنَا عُبَيْدُ اللَّهِ بْنُ عُمَرَ الْجُشَمِيُّ، حَدَّثَنَا يَزِيدُ بْنُ هَارُونَ، أَخْبَرَنَا الْمَسْعُودِيُّ، عَنْ زِيَادِ بْنِ عِلاَقَةَ، قَالَ صَلَّى بِنَا الْمُغِيرَةُ بْنُ شُعْبَةَ فَنَهَضَ فِي الرَّكْعَتَيْنِ قُلْنَا سُبْحَانَ اللَّهِ قَالَ سُبْحَانَ اللَّهِ وَمَضَى فَلَمَّا أَتَمَّ صَلاَتَهُ وَسَلَّمَ سَجَدَ سَجْدَتَىِ السَّهْوِ فَلَمَّا انْصَرَفَ قَالَ رَأَيْتُ رَسُولَ اللَّهِ صلى الله عليه وسلم يَصْنَعُ كَمَا صَنَعْتُ ‏.‏ قَالَ أَبُو دَاوُدَ وَكَذَلِكَ رَوَاهُ ابْنُ أَبِي لَيْلَى عَنِ الشَّعْبِيِّ عَنِ الْمُغِيرَةِ بْنِ شُعْبَةَ وَرَفَعَهُ وَرَوَاهُ أَبُو عُمَيْسٍ عَنْ ثَابِتِ بْنِ عُبَيْدٍ قَالَ صَلَّى بِنَا الْمُغِيرَةُ بْنُ شُعْبَةَ مِثْلَ حَدِيثِ زِيَادِ بْنِ عِلاَقَةَ ‏.‏ قَالَ أَبُو دَاوُدَ أَبُو عُمَيْسٍ أَخُو الْمَسْعُودِيِّ وَفَعَلَ سَعْدُ بْنُ أَبِي وَقَّاصٍ مِثْلَ مَا فَعَلَ الْمُغِيرَةُ وَعِمْرَانُ بْنُ حُصَيْنٍ وَالضَّحَّاكُ بْنُ قَيْسٍ وَمُعَاوِيَةُ بْنُ أَبِي سُفْيَانَ وَابْنُ عَبَّاسٍ أَفْتَى بِذَلِكَ وَعُمَرُ بْنُ عَبْدِ الْعَزِيزِ ‏.‏ قَالَ أَبُو دَاوُدَ هَذَا فِيمَنْ قَامَ مِنْ ثِنْتَيْنِ ثُمَّ سَجَدُوا بَعْدَ مَا سَلَّمُوا ‏.‏

sunnah.com