´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 ReferenceSunan an-Nasa'i / The Book of Forgetfulness (In Prayer) / Hadith: 1331
Hadith Gradingالألبانی:حسن صحيح | زبیر علی زئی:إسناده حسن