[Machine] The Prophet's ﷺ flag was with Ali ibn Abi Talib, and the Ansar's flag was with Saad ibn Ubadah. When the battle intensified, the Messenger of Allah ﷺ would be among those under the Ansar's flag.
أَنَّ رَايَةَ النَّبِيِّ ﷺ مَعَ عَلِيِّ بْنِ أَبِي طَالِبٍ وَرَايَةَ الْأَنْصَارِ مَعَ سَعْدِ بْنِ عُبَادَةَ وَكَانَ إِذَا اسْتَحَرَّ الْقَتْلُ كَانَ رَسُولُ اللهِ ﷺ مِمَّا يَكُونَ تَحْتَ رَايَةِ الْأَنْصَارِ