Muhammad bin Shu'ayb narrates: I asked Imam Awza'i and Sa'id bin Abdul Aziz about this matter, and both of them said: "Whatever part of the prayer you catch with the Imam, consider it as the beginning part of your own prayer."
Hadith Referenceسنن الدارقطني / كتاب الصلاة / 1499