The Messenger of Allah (ﷺ) stood up during the prayer when he should have sat, so he prostrated twice while sitting, before the taslim. Sunan an-Nasa'i Book 13, Hadith 45