Imran bin Husayn reported,

The Prophet ﷺ led them in prayer and made a mistake, so he performed two prostrations, then recited the tashahhud, then gave the salam.

Tirmidhi 395

Sahih

حدثنا محمد بن يحيى النيسابوري حدثنا محمد بن عبد الله الأنصاري قال أخبرني أشعث عن ابن سيرين عن خالد الحذاء عن أبي قلابة عن أبي المهلب

عن عمران بن حصين

أن النبي ﷺ صلى بهم فسها فسجد سجدتين ثم تشهد ثم سلم

الترمذي 395صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami Tirmidhi
Book
Prayer
Chapter
Tashahhud in the two prostrations of forgetfulness
Numbering
Darussalam 395
Tirmidhi 395