It was narrated that Abu Hurairah said:
"The Messenger of Allah (ﷺ) said: 'Whoever catches up with a Rak'ah of the prayer has caught up with it." (ES)
English reference (ES): Vol. 1, Book 6, Hadith 557 (ES)
Arabic reference (ES): Book 6, Hadith 561 (ES)