"Abdullah bin 'Umar used to narrate that he offered the fear
prayer with the Messenger of Allah (
ﷺ). He said: 'The Prophet (
ﷺ) said the takbir and one group of us formed a row behind him while the other group faced the enemy. The Prophet (
ﷺ) led them in bowing once and prostrating twice, then they moved away and faced the enemy, and the other group came and prayed with the Prophet (
ﷺ), doing likewise. Then he said the taslim, then each man of both groups stood and prayed by himself, bowing once and prostrating twice.'"