Ayesha reported,

The Messenger of Allah ﷺ said... and Abu al-Tahir and Harmala both narrated to me from Ibn Wahb, with the wording belonging to Harmala, who said, Yunus informed me from Ibn Shihab that Urwa bin Zubayr told him that Ayesha said, the Messenger of Allah ﷺ said, "Whoever catches one prostration of the afternoon prayer before the sun sets, or one of the dawn prayer before the sun rises, has caught the prayer. And by 'prostration' is meant a full unit of prayer."

Muslim 1375

Sahih

و حدثنا حسن بن الربيع حدثنا عبد الله بن المبارك عن يونس بن يزيد عن الزهري قال حدثنا عروة

عن عائشة قالت

قال رسول الله ﷺ قال ح و حدثني أبو الطاهر وحرملة كلاهما عن ابن وهب والسياق لحرملة قال أخبرني يونس عن ابن شهاب أن عروة بن الزبير حدثه عن عائشة قالت قال رسول الله ﷺ من أدرك من العصر سجدة قبل أن تغرب الشمس أو من الصبح قبل أن تطلع فقد أدركها والسجدة إنما هي الركعة

مسلم 1375صحيح
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 1375
Muslim 1375