Sunan an-Nasa'i, Book 6, Hadith 64 (Nasa'i 559)

It was narrated from Salim, from his father, that the Prophet (ﷺ) said:

"Whoever catches up with with a Rak'ah of Jumu'ah or any other (prayer), his prayer is complete."