(28) باب التَّكْبِيرِ فِي سَجْدَتَىِ السَّهْوِ
It was narrated from 'Abdur-Rahman Al A'raj that:
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 reference: Book 13, Hadith 83
English translation: Vol. 2, Book 13, Hadith 1262