It was narrated from ‘Alqamah that Ibn Mas’ud prostrated twice for the prostrations of forgetfulness after the Salam, and he mentioned that the Prophet (ﷺ) did that.”
Hadith ReferenceSunan Ibn Majah / Establishing the Prayer and the Sunnah Regarding Them / Hadith: 1218
Hadith Gradingالألبانی:صحيح | زبیر علی زئی:صحيح
Hadith Takhrij« تفرد بہ ابن ماجہ ، ( تحفة الأشراف : 9460 ) ، وقد أخرجہ : مسند احمد ( 1/363 ، 376 ) ( صحیح ) »