Sahih Muslim, Book 5, Hadith 124 (Muslim 1277)

'Abdullah b. Mas'ud reported:

The Apostle of Allah (ﷺ) performed two prostrations for forgetfulness after salutation and talking.