"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.
Reference: Sunan an-Nasa'i 1330 In-book : Book 13, Hadith 152 English translation : Vol. 2, Book 13, Hadith 1331
Help us gift a modern, ad-free Islamic application for the Muslim Ummah. Your donation will be recorded as Sadaqah Jariyah in your book of deeds, In Sha Allah.