Shaykh Muhammad Farooq Rafi
Benefits:
➊ Whoever joins the congregational prayer late will adopt the same position that the imam is in; in that situation it is obligatory for him to follow the imam.
➋ Whatever rak'ahs the latecomer catches with the imam are his first rak'ahs, and whatever part of the prayer he has missed will be his last rak'ahs.
➌ Whoever joins the congregational prayer in the second or the fourth rak'ah will, following the imam, perform the tashahhud after the first and the third rak'ah. This is because following the imam is obligatory, and in this case the prostrations of forgetfulness (sajdat al-sahw) will not be required of him, because he is not doing this out of forgetfulness or ignorance; rather, he is doing it in following the imam.
Source: Sahih Ibn Khuzaymah: Commentary by Muhammad Farooq Rafee, Page: 1065