Hadith 4461
٤٤٦١ - حدثنا أبو بكر قال: (حدثنا) (١) عبد الأعلى عن يونس عن الحسن في رجل نسي سجدة من (أول) (٢) صلاته فلم يذكرها حتى كان في آخر ركعة من صلاته قال: يسجد فيها ثلاث سجدات فإن لم يذكرها حتى يقضي صلاته غير أنه لم يسلم بعد، قال: يسجد سجدة واحدة ما لم يتكلم فإن تكلم استأنف الصلاة.
Hasan says that if a person forgets to perform the prostration of recitation at the beginning of the prayer and remembers it in the second unit of prayer, then he should perform three prostrations in that unit. If he remembers after completing the prayer, he should perform one prostration before engaging in conversation, and if he remembers after conversing, then he should perform the prayer anew.
Hadith 4462
٤٤٦٢ - حدثنا هشيم قال: (أخبرنا) (١) مغيرة عن إبراهيم قال: إذا نسي الرجل سجدة من الصلاة فليسجدها متى ما ذكرها في صلاته.
Ibrahim says that if a person forgets to perform a prostration (sajdah) in prayer, then whenever he remembers during the prayer, he should perform the prostration.
Hadith 4463
٤٤٦٣ - حدثنا معتمر عن ليث عن مجاهد في الرجل يشك في سجدة وهو جالس لا يدري (سجدها) (١) أم لا قال مجاهد: إن شئت فاسجدها (فإذا قضيت صلاتك فاسجد سجدتين وأنت جالس) (٢) وإن شئت فلا تسجدها وأسجد سجدتين وأنت جالس في آخر صلاتك.
Hazrat Mujahid was asked that if a person becomes doubtful whether he has performed the prostration or not, and now he is sitting, what should he do? He replied that if you wish, perform the prostration, then when you complete the prayer, perform two prostrations of forgetfulness while sitting. And if you wish, do not perform the prostration and at the end of the prayer, perform two prostrations while sitting.