Abdullah bin Buhayna reported,

The Messenger of Allah ﷺ stood up after the second rakah of the noon prayer without sitting. When he finished his prayer, he performed two prostrations, saying the takbir at each prostration while seated, before giving the salam. The people prostrated along with him to make up for the sitting he had forgotten.

Nasai 1262

Sahih

أخبرنا أحمد بن عمرو بن السرح قال أنبأنا ابن وهب قال أخبرني عمرو ويونس والليث أن ابن شهاب أخبرهم عن عبد الرحمن الأعرج أن

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

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

النسائي 1262صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Forgetfulness
Chapter
Takbir in the two prostrations of forgetfulness
Numbering
Darussalam 1262
Nasai 1262