He also reported God’s Messenger as saying, “If any of you performs a sajda of the afternoon prayer before sunset, he should complete his prayer; and if he is present at a sajda of the Morning Prayer before sunrise, he should complete his prayer.” Bukhari transmitted it.
Hadith Referenceمشكوة المصابيح / كتاب الصلاة / 602
Hadith Gradingالألبانی:صَحِيحٌ | زبیر علی زئی:صحيح
Hadith Takhrij´تحقيق و تخريج: محدث العصر حافظ زبير على زئي رحمه الله` «رواه البخاري (556)»