Abu Hurairah reported,

The Prophet ﷺ said, "Whoever catches one rakah of the dawn prayer before the sun rises has caught the dawn prayer, and whoever catches one rakah of the afternoon prayer before the sun sets has caught the afternoon prayer."

Tirmidhi 186

Sahih

حدثنا إسحق بن موسى الأنصاري حدثنا معن حدثنا مالك بن أنس عن زيد بن أسلم عن عطاء بن يسار وعن بسر بن سعيد وعن الأعرج يحدثونه

عن أبي هريرة

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

الترمذي 186صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami Tirmidhi
Book
Prayer
Chapter
Whoever catches a rakat of Asr before the sun sets
Numbering
Darussalam 186
Tirmidhi 186