´It was narrated from Abu Hurairah that:` "The Messenger of Allah (ﷺ) said the salam then he performed two prostrations of forgetfulness while he was still sitting, then he said the salam." He said: He mentioned it in the hadith of Dhul-Yadain.
Hadith Referenceسنن نسائي / كتاب السهو / 1331
Hadith Gradingالألبانی:حسن صحيح | زبیر علی زئی:إسناده حسن
´It was narrated from 'Imran bin Husain that:` The Prophet (ﷺ) prayed three (rak'ahs) then said the taslim. Al-Khirbaq said: "You prayed three." So he led them in praying the remaining rak'ah, then he said the taslim, then he did the two prostrations of forgetfulness, then he said the taslim (again).