Hazrat Sha'bi, Hasan, Hazrat Sha'bah, and Hazrat Hakam state that he should complete his prayer with salam and then join the prayer with the imam.