This is the right thing to do and that it is to fill up the gaps and the first rows first.

When I get late to the mosque and the salah has already started, there are people who start the second row without completing the first row, and I join the first row at the end. Is this correct?

Prayer |