Saalim reported on the authority of his father that the Prophet (SAW) prayed one raka’ah of the prayer of fear with one section (of the two) while the other section faced the enemy. Then they turned about and stood at the place of those, and they came, so he prayed with them the.other rakaah. Then he made the salutation and they stood up and made up their raka’ah. Thereafter, the first section stood up and made up their raka’ah.
[Ahmed6167, Bukhari 1243, Muslim 839, Nisai 1534]