(30) باب مَنْ أَدْرَكَ رَكْعَةً مِنَ الصَّلاَةِ فَقَدْ أَدْرَكَ تِلْكَ الصَّلاَةَ
Abu Huraira reported:
The Messenger of Allah (ﷺ) said: He who finds (gets) a rak'ah of the afternoon (prayer) before the setting of the sun, he in fact gets (the full prayer), and he who gets a rak'ah of the morning (prayer) before the rising of the sun he in fact gets (the full prayer). (ID)
Reference (ID): Sahih Muslim 608 c (ID)
In-book reference (ID): Book 5, Hadith 211 (ID)
USC-MSA web (English) reference(deprecated numbering scheme): Book 4, Hadith 1266 (ID)