" مَنْ أَدْرَكَ رَكْعَةً مِنَ الْجُمُعَةِ أَوْ غَيْرِهَا فَقَدْ تَمَّتْ صَلاَتُهُ "
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."