كتاب الْمَسَاجِدِ وَمَوَاضِعِ الصَّلاَةِ
5  
The Book of Mosques and Places of Prayer
(30)
Chapter: The one who catches up with a rak`ah of the prayer, he has caught up with that prayer
(30)
باب مَنْ أَدْرَكَ رَكْعَةً مِنَ الصَّلاَةِ فَقَدْ أَدْرَكَ تِلْكَ الصَّلاَةَ ‏
Sahih Muslim 607 a

Abu Huraira reported the Messenger of Allah (ﷺ) as saying:

He who finds a rak'ah of the prayer, he in fact finds the prayer.
وَحَدَّثَنَا يَحْيَى بْنُ يَحْيَى، قَالَ قَرَأْتُ عَلَى مَالِكٍ عَنِ ابْنِ شِهَابٍ، عَنْ أَبِي سَلَمَةَ بْنِ عَبْدِ الرَّحْمَنِ، عَنْ أَبِي هُرَيْرَةَ، أَنَّ النَّبِيَّ صلى الله عليه وسلم قَالَ ‏ "‏ مَنْ أَدْرَكَ رَكْعَةً مِنَ الصَّلاَةِ فَقَدْ أَدْرَكَ الصَّلاَةَ ‏"‏ ‏.‏
Reference : Sahih Muslim 607a
In-book reference : Book 5, Hadith 205
USC-MSA web (English) reference : Book 4, Hadith 1260
  (deprecated numbering scheme)