It is narrated from Sayyiduna Abu Hurairah (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "Whoever catches one rak'ah of the prayer has indeed caught the prayer."
Hadith Referenceالسنن المأثورة / باب ما جاء في الصلاة على الراحلة / 107
Hadith Takhrijصحیح مسلم، المساجد ومواضع الصلاة، باب من ادرك ركعة من الصلاة فقد ادرك تلك الصلاة ، رقم : 607۔