The first party rehearse one unit of the prayer with the Imam...
The first party rehearse one unit of the prayer with the Imam, (HE WHO CONDUCTS THE PRAYER) and for the second unit they do it themselves and individually. When their prayer is finished they return urgently to the battle field, to release another shift to come and do the prayer in the same way. They all perform half of their pryer congregationally and the other half individually.
Other methods of performance have also been recommended according to circumstances, that was actually done by the prophet at different times, but the above mentioned method is the most common way of doing that. Anyhow, in such prayers, all precautions are to be observed to prevent a surprise attack by the enemy. Therefore it is ordered that even in the prayer the armour and arms should be on, except when rain and illness is likely to cause inconvenience.