It wasnarrated from 'Alqamah that Ibn Mas'ud prostrated twice fortheprostrations of forgetfulness after the Salam, and he mentionedthatthe Prophet (ﷺ) did that."
English reference: Vol. 1, Book 5, Hadith 1218
Arabic reference: Book 5, Hadith 1275
Read hadith from the major collections in the app, with prayer times and a Qibla compass. Free.