"The imam should stand up facing the Qiblah and some of them should stand with him while the others stand facing the enemy. Then he should pray one rak'ah with them and they should pray another rak'ah by themselves, and prostrate twice where they are. Then they should go to where the others are and the others should come and he should lead them in bowing once and prostrating twice, so it will be two rak'ahs for him and one for them. Then they should bow once and prostrate twice (by themselves, to make up the other rak'ah)." (Using translation from Nasāʾī 1553)
«يَقُومُ الْإِمَامُ مُسْتَقْبِلَ الْقِبْلَةِ وَتَقُومُ طَائِفَةٌ مِنْهُمْ مِنْ قِبَلِ الْعَدُوِّ وُجُوهُهُمْ إِلَى الْعَدُوِّ فَيُصَلِّي بِالَّذِينَ مَعَهُ رَكْعَةً ثُمَّ يَقُومُ فَيَرْكَعُونَ لِأَنْفُسِهِمْ رَكْعَةً وَيَسْجُدُونَ سَجْدَتَيْنِ فِي مَكَانِهِمْ ثُمَّ يَذْهَبُ هَؤُلَاءِ إِلَى مَقَامِ أُولَئِكَ فَيَجِيءُ أُولَئِكَ فَيَرْكَعُ بِهِمْ رَكْعَةً فَهِيَ لَهُ اثْنَتَانِ وَلَهُمْ وَاحِدَةٌ ثُمَّ يَرْكَعُونَ لِأَنْفُسِهِمْ وَيَسْجُدُونَ سَجْدَتَيْنِ»