(21) باب مَا يَفْعَلُ مَنْ قَامَ مِنَ اثْنَتَيْنِ نَاسِيًا وَلَمْ يَتَشَهَّدْ
It was narrated that Abdullah bin Buhainah said:
"The Messenger of Allah (ﷺ) led us in praying two rak'ahs, then he stood up and did not sit, and the people stood up with him. When he finished the prayer, and we were waiting for him to say the taslim, he said the takbir and prostrated twice while sitting, before the taslim. Then he said the taslim."
Reference: Sunan an-Nasa'i 1222
In-book reference: Book 13, Hadith 44
English translation: Vol. 2, Book 13, Hadith 1223