Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
muslim:1814a[Chain 1] Abū Bakr b. Abū Shaybah > Zayd b. al-Ḥubāb [Chain 2] Saʿīd b. Muḥammad al-Jarmī > Abū Tumaylah > Ḥusayn b. Wāqid > ʿAbdullāh b. Buraydah from his father

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.  

مسلم:١٨١٤aوَحَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ حَدَّثَنَا زَيْدُ بْنُ الْحُبَابِ ح وَحَدَّثَنَا سَعِيدُ بْنُ مُحَمَّدٍ الْجَرْمِيُّ حَدَّثَنَا أَبُو تُمَيْلَةَ قَالاَ جَمِيعًا حَدَّثَنَا حُسَيْنُ بْنُ وَاقِدٍ عَنْ عَبْدِ اللَّهِ بْنِ بُرَيْدَةَ عَنْ أَبِيهِ قَالَ

غَزَا رَسُولُ اللَّهِ ﷺ تِسْعَ عَشْرَةَ غَزْوَةً قَاتَلَ فِي ثَمَانٍ مِنْهُنَّ وَلَمْ يَقُلْ أَبُو بَكْرٍ مِنْهُنَّ وَقَالَ فِي حَدِيثِهِ حَدَّثَنِي عَبْدُ اللَّهِ بْنُ بُرَيْدَةَ