(19) باب السَّهْوِ فِي الصَّلاَةِ وَالسُّجُودِ لَهُ
'Abdullah b. Mas'ud reported:
The Apostle of Allah (ﷺ) performed two prostrations for forgetfulness after salutation and talking.
Reference: Sahih Muslim 572 m
In-book reference: Book 5, Hadith 124
USC-MSA web (English) reference(deprecated numbering scheme): Book 4, Hadith 1180
Read hadith from the major collections in the app, with prayer times and a Qibla compass. Free.