Sahih Muslim , Book 32, Hadith 179 (In-Book)

It has been narrated on the authority of Salama who said: I joined seven military expeditions led by the Messenger of Allah himself, and nine expeditions which he sent out once under Abu Bakr and once under Usama b. Zaid.

حَدَّثَنَا مُحَمَّدُ بْنُ عَبَّادٍ، حَدَّثَنَا حَاتِمٌ، - يَعْنِي ابْنَ إِسْمَاعِيلَ - عَنْ يَزِيدَ، - وَهُوَ ابْنُ أَبِي عُبَيْدٍ قَالَ سَمِعْتُ سَلَمَةَ، يَقُولُ غَزَوْتُ مَعَ رَسُولِ اللَّهِ صلى الله عليه وسلم سَبْعَ غَزَوَاتٍ وَخَرَجْتُ فِيمَا يَبْعَثُ مِنَ الْبُعُوثِ تِسْعَ غَزَوَاتٍ مَرَّةً عَلَيْنَا أَبُو بَكْرٍ وَمَرَّةً عَلَيْنَا أُسَامَةُ بْنُ زَيْدٍ ‏.‏

sunnah.com