(21) باب مَا يَفْعَلُ مَنْ قَامَ مِنَ اثْنَتَيْنِ نَاسِيًا وَلَمْ يَتَشَهَّدْ
It was narrated from 'Abdullah bin Buhainah that:
The Messenger of Allah (ﷺ) stood up during the prayer when he should have sat, so he prostrated twice while sitting, before the taslim.
Reference: Sunan an-Nasa'i 1223
In-book reference: Book 13, Hadith 45
English translation: Vol. 2, Book 13, Hadith 1224