Abdullah bin Masud reported,

The Prophet ﷺ performed the two prostrations of forgetfulness after the salutation and after speaking.

Muslim 1286

Sahih

و حدثنا أبو بكر بن أبي شيبة وأبو كريب قالا حدثنا أبو معاوية قال ح و حدثنا ابن نمير حدثنا حفص وأبو معاوية عن الأعمش عن إبراهيم عن علقمة

عن عبد الله

أن النبي ﷺ سجد سجدتي السهو بعد السلام والكلام

مسلم 1286صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Mosques and places of prayer
Chapter
Forgetfulness in prayer and sujud for it
Numbering
Darussalam 1286
Muslim 1286