Abu Hurairah reported,

The Messenger of Allah ﷺ said, "Whoever catches one rak'ah of the Fajr prayer before the sun rises has caught Fajr, and whoever catches one rak'ah of the Asr prayer before the sun sets has caught Asr."

Azami 1850

Sahih

عن أبي هريرة

أن رسول الله ﷺ قال: من أدرك من الصبح ركعة قبل أن تطلع الشمس فقد أدرك الصبح، ومن أدرك ركعة من العصر قبل أن تغرب الشمس فقد أدرك العصر.

الأعظمي 1850صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Prayer
Chapter
Prayer times
Section
Whoever catches one rakat of the prayer has caught that prayer
Numbering
Jami al-Kamil 1850 (2nd edition)
Azami 1850