Abu Huraira (may Allah be pleased with him) narrated that the Messenger of Allah (peace and blessings be upon him) said: "Whoever catches one rak'ah of the prayer has caught the prayer."
Hadith Referenceمسند الإمام الشافعي / كتاب الصلاة / 150
Hadith Takhrijاخرجه البخاري: باب من ادرك من الصلاة ركعة (580) - ومسلم، المساجد، باب من ادرك ركعة من الصلاة فقد ادرك تلك الصلاة (607) .