Ibn Buhayna reported,

The Prophet ﷺ was praying, and he stood up at the point of the even rakah where he should have sat. He continued his prayer, and at the end of it, before giving the salam, he performed two prostrations, then gave the salam.

Nasai 1178

Sahih

أخبرني يحيى بن حبيب بن عربي البصري قال حدثنا حماد بن زيد عن يحيى عن عبد الرحمن الأعرج

عن ابن بحينة

أن النبي ﷺ صلى فقام في الشفع الذي كان يريد أن يجلس فيه فمضى في صلاته حتى إذا كان في آخر صلاته سجد سجدتين قبل أن يسلم ثم سلم

النسائي 1178صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Placing the hands between the knees in bowing
Chapter
Abandoning the first tashahhud
Numbering
Darussalam 1178
Nasai 1178