"Whoever catches up with with a Rak'ah of Jumu'ah or any other (prayer), his prayer is complete."
Sunan an-Nasa'i Book 6, Hadith 64