Abu Hurairah reported,

The Messenger of Allah ﷺ 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."

Muslim 1374

Sahih

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

عن أبي هريرة

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

مسلم 1374صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Mosques and places of prayer
Chapter
Whoever catches one rakat of the prayer has caught that prayer
Numbering
Darussalam 1374
Muslim 1374