Hadith 1030

نَا أَحْمَدُ بْنُ عَبْدِ الرَّحْمَنِ ، حَدَّثَنَا عَمِّي ، أَخْبَرَنِي ابْنُ أَبِي حَازِمٍ ، عَنِ الضَّحَّاكِ وَهُوَ ابْنُ عُثْمَانَ ، عَنِ الأَعْرَجِ ، عَنْ عَبْدِ اللَّهِ بْنِ بُحَيْنَةَ ، أَنَّهُ قَالَ : " صَلَّى رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ صَلاةً مِنَ الصَّلَوَاتِ ، فَقَامَ مِنَ اثْنَتَيْنِ فَسُبِّحَ بِهِ ، فَمَضَى حَتَّى فَرَغَ مِنْ صَلاتِهِ وَلَمْ يَبْقَ إِلا التَّسْلِيمُ ، فَسَجَدَ سَجْدَتَيْنِ وَهُوَ جَالِسٌ قَبْلَ أَنْ يُسَلِّمَ "
Sayyiduna Abdullah bin Buhaina (may Allah be pleased with him) narrates that the Messenger of Allah (peace and blessings be upon him) led us in one of the prayers, and in the second rak‘ah he stood up (without sitting for tashahhud). He was reminded by saying "Subhan Allah," but he continued with his prayer until he finished it and only the salam was left. So, before the salam, he performed two prostrations while sitting.
Hadith Reference صحيح ابن خزيمه / جماع أبواب السهو فى الصلاة / 1030
Hadith Takhrij انظر الحديث السابق