[Machine] On the authority of the Prophet ﷺ, in the prayer of fear, he prayed two units of prayer and with these (others) two units of prayer. So, it would be four units for the Prophet ﷺ and two units for them.
عَنِ النَّبِيِّ ﷺ «فِي صَلَاةِ الْخَوْفِ صَلَّى بِهِمْ رَكْعَتَيْنِ وَبِهَؤُلَاءِ رَكْعَتَيْنِ فَكَانَتْ لِلنَّبِيِّ ﷺ أَرْبَعًا وَلَهُمْ رَكْعَتَانِ رَكْعَتَانِ»