Bulugh al-Maram
Book 2, Hadith 11
وَعَنْ أَبِي هُرَيْرَةَ - رضى الله عنه - أَنَّ رَسُولَ اَللَّهِ - صلى الله عليه وسلم -قَالَ: { مَنْ أَدْرَكَ مِنْ اَلصُّبْحِ رَكْعَةً قَبْلِ أَنْ تَطْلُعَ اَلشَّمْسُ فَقَدْ أَدْرَكَ اَلصُّبْحَ, وَمَنْ أَدْرَكَ رَكْعَةً مِنْ اَلْعَصْرِ قَبْلَ أَنْ تَغْرُبَ اَلشَّمْسُ فَقَدْ أَدْرَكَ اَلْعَصْرَ } مُتَّفَقٌ عَلَيْهِ 1 .1 - صحيح. رواه البخاري (579)، ومسلم (608).
Abu Hurairah (may Allah be pleased with him) reported that the Messenger of Allah (peace and blessings be upon him) said: “Whoever catches one rakʿah of Fajr before the sun rises has caught Fajr, and whoever catches one rakʿah of ʿAsr before the sun sets has caught ʿAsr.”
[Grading note:] Sound. Reported by al-Bukhari (579) and Muslim (608).
Translation notes
The Arabic says that the person has caught the prayer, without the English witness addition that it was caught in its time.