عَنِ ابْنِ عَبَّاسٍ أَنَّ رَايَةَ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ مَعَ عَلِيِّ بْنِ أَبِي طَالِبٍ وَرَايَةَ الْأَنْصَارِ مَعَ سَعْدِ بْنِ عُبَادَةَ وَكَانَ إِذَا اسْتَحَرَّ الْقَتْلُ كَانَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ مِمَّا يَكُونُ تَحْتَ رَايَةِ الْأَنْصَارِ
It is narrated from Ibn Abbas (may Allah be pleased with him) that the flag of the Prophet Muhammad (peace and blessings be upon him and his family) used to be with Sayyiduna Ali bin Abi Talib (may Allah be pleased with him), and the flag of the Ansar used to be in the hands of Sayyiduna Sa’d bin Ubadah (may Allah be pleased with him). When the battle would become intense, the Messenger of Allah (peace and blessings be upon him and his family) would go under the flag of the Ansar.