It is narrated from Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) that Sayyiduna Ali (may Allah be pleased with him) was the standard-bearer of the Messenger of Allah (peace and blessings be upon him) on the day of the Battle of Badr, and Sayyiduna Qays bin Sa'd (may Allah be pleased with him) was the standard-bearer of Sayyiduna Ali (may Allah be pleased with him), and in all the battles the standard of the Muhajirun also remained (with Sayyiduna Ali (may Allah be pleased with him)).
Imam al-Tabarani (may Allah have mercy on him) said: "No one narrated this hadith from al-Hakam except Abu Shaybah."
Hadith Referenceالمعجم الأوسط / باب الميم / 5202
Hadith Takhrij«أخرجه الطبراني فى «الكبير» برقم: 12101»