It was narrated from Abu Hurairah that the Messenger of Allah (ﷺ) said:
"Whoever catches up with a Rak'ah of the prayer, then he has caught up with it." (ID)
English reference (ID): Vol. 1, Book 6, Hadith 555 (ID)
Arabic reference (ID): Book 6, Hadith 559 (ID)