fiqhsalatmasbuqbinadivergence
According to the bina view, what the latecomer prayed with the imam is the beginning of his prayer; after the imam's salam he builds on it, for recitation and sittings alike. An-Nawawi gives it as the Shafii position; Ibn Qudama reports it as a narration from Ahmad. In the Maliki school, the mashhur view is the tafsil.