Abdullah bin Buhayna reported,

The Messenger of Allah ﷺ led us in two units of prayer, then he stood up without sitting, and the people stood with him. When he finished his prayer and we awaited his closing salutation, he said the takbir, then performed two prostrations while seated before the salutation, and then he gave the closing salutation.

Azami 2479

Sahih

عن عبد الله بن بحينة، أنه قال

صلى لنا رسول الله ﷺ ركعتين، ثم قام فلم يجلس، فقام الناس معه. فلما قضى صلاته، ونظرنا تسليمه، كبر، ثم سجد سجدتين، وهو جالس قبل التسليم، ثم سلم.

الأعظمي 2479صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Prayer
Chapter
Forgetfulness
Section
Prostration of forgetfulness before the taslim, and that there is no tashahhud in it
Numbering
Jami al-Kamil 2479 (2nd edition)
Azami 2479