مصنف ابن ابي شيبه

Musannaf Ibn Abi Shaybah

سجود السهو والعمل في الصلاة

Prostration of Forgetfulness and Actions in Salah

من قال: يتم مع الإمام ما بقي، ويجعل الباقي تطوعا

If someone is praying a voluntary salah and hears the iqamah, what should he do?

2 hadith
Hadith 4934
٤٩٣٤ - حدثنا أبو بكر قال حدثنا هشيم قال (أخبرنا) (١) مغيرة عن إبراهيم في ⦗٣٧⦘ الرجل يأتي المسجد فيرى أنهم (٢) صلوا، فافترض الصلاة (فصلى) (٣) ركعتين من المكتوبة، فأقيمت الصلاة قال: يدخل مع الإمام في صلاته فإذا صلى مع الإمام ركعتين ثم يسلّم (٤)، (ثم) (٥) يجعل الركعتين الأخريين (٦) مع الإمام تطوعا.
Ibrahim says that if a person comes to the mosque and thinks that the people have already performed the prayer, so he makes the intention to perform the obligatory prayer, and after he has completed two rak'ahs, the iqamah for the prayer is given. Now he should join the imam in his prayer; when the imam has performed two rak'ahs (making his total four), he should say salam and remain with the imam for the rest of the prayer, and make the last two rak'ahs with the imam as nafl (supererogatory) prayers.
Hadith Reference مصنف ابن ابي شيبه / سجود السهو والعمل في الصلاة / 4934
Hadith Takhrij (مصنف ابن ابي شيبه: ترقيم سعد الشثري 4934، ترقيم محمد عوامة 4887)
Hadith 4935
٤٩٣٥ - حدثنا هشيم عن شعبة عن حماد أنه قال كما قال إبراهيم.
Hazrat Hammad also says the same.
Hadith Reference مصنف ابن ابي شيبه / سجود السهو والعمل في الصلاة / 4935
Hadith Takhrij (مصنف ابن ابي شيبه: ترقيم سعد الشثري 4935، ترقيم محمد عوامة 4888)