Imran bin Husayn reported,

The Prophet ﷺ prayed three rakahs and then gave the salam.Kharbaq said, "You prayed only three rakahs."So he led them in the remaining rakah, then gave the salam, performed the two prostrations of forgetfulness, and gave the salam again.

Nasai 1332

Sahih

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

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

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

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