"Whoever catches up with a Rak'ah of one of the prayers has caught up with it, except that he has to make up the portion that he missed." (Using translation from Nasāʾī 558)
أَنَّ رَسُولَ اللهِ ﷺ قَالَ «مَنْ أَدْرَكَ رَكْعَةً مِنْ صَلَاةٍ مِنَ الصَّلَوَاتِ فَقَدْ أَدْرَكَهَا إِلَّا أَنَّهُ يَقْضِيَ مَا فَاتَهُ»