Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
ahmad:3486ʿAbd al-Razzāq > Maʿmar > ʿUthmān al-Jazarī > Miqsam > Lā Aʿlamuh Illā > Ibn ʿAbbās

[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.  

أحمد:٣٤٨٦حَدَّثَنَا عَبْدُ الرَّزَّاقِ حَدَّثَنَا مَعْمَرٌ عَنْ عُثْمَانَ الْجَزَرِيِّ عَنْ مِقْسَمٍ قَالَ لَا أَعْلَمُهُ إِلَّا عَنِ ابْنِ عَبَّاسٍ

أَنَّ رَايَةَ النَّبِيِّ ﷺ مَعَ عَلِيِّ بْنِ أَبِي طَالِبٍ وَرَايَةَ الْأَنْصَارِ مَعَ سَعْدِ بْنِ عُبَادَةَ وَكَانَ إِذَا اسْتَحَرَّ الْقَتْلُ كَانَ رَسُولُ اللهِ ﷺ مِمَّا يَكُونَ تَحْتَ رَايَةِ الْأَنْصَارِ  


See similar narrations below:

Collected by Ṭabarānī
tabarani:5356Muḥammad b. ʿAbdullāh al-Ḥaḍramī > Jubārah b. al-Mughallis > Abū Shaybah > al-Ḥakam > Miqsam > Ibn ʿAbbās

[Machine] The banner of the Messenger of Allah ﷺ was in all the locations, the banner of the Muhajireen with Ali ibn Abi Talib, and the banner of the Ansar with Saad ibn Ubada.  

الطبراني:٥٣٥٦حَدَّثَنَا مُحَمَّدُ بْنُ عَبْدِ اللهِ الْحَضْرَمِيُّ ثنا جُبَارَةُ بْنُ الْمُغَلِّسِ ثنا أَبُو شَيْبَةَ عَنِ الْحَكَمِ عَنْ مِقْسَمٍ عَنِ ابْنِ عَبَّاسٍ قَالَ

كَانَتْ رَايَةُ رَسُولِ اللهِ ﷺ فِي الْمَوَاطِنِ كُلِّهَا رَايَةُ الْمُهَاجِرِينَ مَعَ عَلِيِّ بْنِ أَبِي طَالِبٍ وَرَايَةُ الْأَنْصَارِ مَعِ سَعْدِ بْنِ عُبَادَةَ