Yahya related to me from Malik from Yahya ibn Said from al-Qasimibn Muhammad from Salih ibn Khawwat that Sahl ibn Abi Hathma relatedto him that the form of the prayer of fear was that the imam stoodwith a group of his companions, while another group faced the enemy.The imam prayed one raka with them, including the prostration, andthen stood. He remained standing while they completed the remainingraka by themselves. They then said the taslim, left, and formed upopposite the enemy while the imam remained standing. Then the otherswho had not prayed came forward and said the takbir behind the imamand he prayed one raka with them, including the prostration. He thensaid the taslim, while they stood up and prayed the remaining raka bythemselves. Then they said the taslim.
USC-MSA web (English) reference: Book 11, Hadith 2
Arabic reference: Book 11, Hadith 445