Sahih al-Bukhari, Book 64, Hadith 486 (Bukhari 4270)
Narrated Abu 'Is-haq:
I asked Zaid bin Al-Arqam, "In how many Ghazawat did you take part in the company of Allah's Apostle?" He replied, "Seventeen." I further asked, "How many Ghazawat did the Prophet (ﷺ) fight?" He replied, "Nineteen."