The Book of Jihad and Expeditions
كتاب الجهاد والسير
Chapter 49: The number of campaigns of the Prophet (saws)
It has been narrated on the authority of Buraida (who heard the tradition from his father) that the Messenger of Allah (ﷺ) conducted nineteen military campaigns and he (actually) fought in eight of them.
It has been narrated by Buraida who heard it from his father that he joined the Messenger of Allah (ﷺ) in sixteen military campaigns
The (foregoing) tradition has also been narrated on the authority of Hatim through the same chain of transmitters with the difference that according to this version both these types of expeditions were seven in number.