that some of those who have come to attend the funeral prayer have missed part of the obligatory prayer, he should not hasten to perform the prayer over the deceased until the worshippers who are making up what they missed have finished, so that they may join the rest of the congregation in praying for the deceased. In this way the assembly will be larger, and it may well be that the supplication of just one of them is the one that is granted.
As for the practice of certain people who, after concluding the obligatory prayer with the salām, immediately rise to conduct the funeral prayer with a row or two behind them, although this is permissible, the preferable course is to wait until everyone has completed their prayers and then perform the funeral prayer together. Such a delay is negligible—ten minutes at most…
And Allah is the One who grants success.