Offering Salah in order is obligatory; so if
someone misses a Salah and finds people offering the due Salah, he is to offer the missed Salah first then joins (Part No. 5; Page No. 103) them in the due Salah. Also, there is no blame on him if he joins them having the intention of offering the missed Salah and then offers the due Salah alone according to the most correct opinion of the scholars.May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.