The Prophet ﷺ performed the two prostrations of forgetfulness after speaking.
حدثنا هناد ومحمود بن غيلان قالا حدثنا أبو معاوية عن الأعمش عن إبراهيم عن علقمة
أن النبي ﷺ سجد سجدتي السهو بعد الكلام
No references are available.
Agreed upon [by Bukhari and Muslim]. Muslim also reported it in the Book of Mosques, chapter on forgetfulness in prayer and the sujud for it, hadith no. 95/572, from the report of Abu Muawiya Dareer, and Bukhari, hadith no. 401, from the report of Ibrahim Nakhai, with the same wording.On this subject there are also reports from Muawiya [Abu Dawud, no. 1023], Abdullah bin Jafar [Abu Dawud, no. 1033], and Abu Hurairah [to come, no. 394].