Sahih al-Bukhari #4271
Military Expeditions led by the Prophet (pbuh) (Al-Maghaazi) 64:305
Narrated Salama (in another narration):
I fought seven Ghazwat (i.e. battles) along with the Prophet (ﷺ) and also fought in nine battles, fought by armies sent by the Prophet (ﷺ) . Once Abu Bakr was our commander and another time, Usama was (our commander).