Sayyiduna Abu Huraira (may Allah be pleased with him) narrates this statement of the Noble Prophet (peace and blessings of Allah be upon him): "Whoever catches one rak'ah before the sun rises and then the sun rises, he should complete the second rak'ah with it."
Hadith Referenceصحیح ابن حبان / كتاب الصلاة / 1581
Hadith Gradingفضيلة الشيخ الإمام محمد ناصر الدين الألبانيصحيح - «الصحيحة» (2475).فضيلة الشيخ العلّامة شُعيب الأرناؤوطإسناده صحيح على شرط الصحيح.