ومتى فات الانسان ركعة أو ما زاد على ذلك مع الامام فليصل معه ما بقي ويكون ذلك أولا لدخوله في الصلاة وليصلها على الحد الذي يصليه لو ابتدأ بالصلاة وتفصيل هذه الجملة ما رواه
And whenever a person misses a rak’ah or more with the imam (of prayer), he should pray with him whatever remains, and that is to be considered as the beginning of his entry into the prayer. Then he should complete the prayer in the manner he would have prayed it had he started it from the beginning. The explanation of this general rule is found in what was narrated: