Abdullah bin Buhayna reported,

It is reported from the Messenger of Allah ﷺ that he stood up during the prayer when he should have remained sitting, so he performed two prostrations while sitting before the final salutation.

Nasai 1224

Sahih

أخبرنا قتيبة قال حدثنا الليث عن يحيى بن سعيد عن عبد الرحمن بن هرمز

عن عبد الله ابن بحينة

عن رسول الله ﷺ أنه قام في الصلاة وعليه جلوس فسجد سجدتين وهو جالس قبل التسليم

النسائي 1224صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Forgetfulness
Chapter
What one does if he stands from the second rakah forgetfully without having said the tashahhud
Numbering
Darussalam 1224
Nasai 1224