[Machine] Al-Mughira led us in prayer and then stood up for the two extra rak'at (units of prayer). We said, "Subhanallah" (glory be to Allah). He said, "Subhanallah" and moved on. When he completed his prayer and gave the salutations, he performed the two prostrations of forgetfulness. When he finished, he said, "I saw the Messenger of Allah ﷺ doing as I did." Abu Dawud said, "And likewise."
صَلَّى بِنَا الْمُغِيرَةُ فَنَهَضَ فِي الرَّكْعَتَيْنِ قُلْنَا سُبْحَانَ اللهِ قَالَ سُبْحَانَ اللهِ وَمَضَى فَلَمَّا أَتَمَّ صَلَاتَهُ وَسَلَّمَ سَجَدَ سَجْدَتَيِ السَّهْوِ فَلَمَّا انْصَرَفَ قَالَ رَأَيْتُ رَسُولَ اللهِ ﷺ يَصْنَعُ كَمَا صَنَعْتُ قَالَ أَبُو دَاوُدَ وَكَذَلِكَ