[Machine] On the authority of the Prophet ﷺ, similar to the statement of Mujahid, when they are mixed, it is only the Takbeer (saying Allahu Akbar) and signaling with the head. And the Prophet ﷺ added that if they increase in number, they should perform the prayer on their mounts or standing on their feet, meaning the prayer of fear.
عَنِ النَّبِيِّ ﷺ بِمِثْلِ قَوْلِ مُجَاهِدٍ إِذَا اخْتَلَطُوا فَإِنَّمَا هُوَ التَّكْبِيرُ وَالْإِشَارَةُ بِالرَّأْسِ وَزَادَ عَنِ النَّبِيِّ ﷺ فَإِنْ كَثُرُوا فَلْيُصَلُّوا رُكْبَانًا أَوْ قِيَامًا عَلَى أَقْدَامِهِمْ يَعْنِي صَلَاةَ الْخَوْفِ