Mughira bin Shuba reported,

He stood up after the second rakah, and the congregation said tasbih to alert him, but he signaled tasbih back to them. When he had completed the rest of his prayer, he gave the salam, then performed the two prostrations of forgetfulness while seated. Afterward he told them that the Messenger of Allah ﷺ had done with his companions just as he had done with them.

Tirmidhi 364

Hasan

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

المغيرة بن شعبة

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

الترمذي 364حسن
Contents
Reference
Commentary
Ayat
Collection
Jami Tirmidhi
Book
Prayer
Chapter
Imam stands up after two rakas forgetfully
Numbering
Darussalam 364
Tirmidhi 364