Sahih al-Bukhari 4471
Sahih al-Bukhari · Book 64: Military Expeditions led by the Prophet (pbuh) (Al-Maghaazi) · How many Ghazawat the Prophet (saws) fought
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."