Abdullah bin Buhainah told him that the Messenger of Allah (ﷺ) stood up following two rak'ahs of Zuhr and did not sit down (for tashahhud). When he finished the prayer he prostrated twice, saying Takbir for each prostration, while he was sitting, before he said the taslim, and the people prostrated with him. (He did that) in place of the sitting that he had forgotten.
Reference: Sunan an-Nasa'i 1261 In-book : Book 13, Hadith 83 English translation : Vol. 2, Book 13, Hadith 1262
Help us gift a modern, ad-free Islamic application for the Muslim Ummah. Your donation will be recorded as Sadaqah Jariyah in your book of deeds, In Sha Allah.