كتاب الحج
15  
The Book of Pilgrimage
(35)
Chapter: The number of Umrahs performed by the prophet (saws) and when he performed them
(35)
باب بَيَانِ عَدَدِ عُمَرِ النَّبِيِّ صلى الله عليه وسلم وَزَمَانِهِنَّ ‏
Sahih Muslim 1253 b

Abu lshaq said:

I asked Zaid b. Arqam: In how many military expeditions have you participated with Allah's Messenger (ﷺ)? He said: In seventeen (expeditions). He (Abu Ishaq) said: Zaid b. Arqam reported to me that Allah's Messenger (ﷺ) had led nineteen expeditions. And he performed Hajj only once after Migration, and that was the Farewell Pilgrimage. Abu Ishaq also said: The second (Hajj) he performed at Mecca (before his Migration to Medina)
وَحَدَّثَنِي زُهَيْرُ بْنُ حَرْبٍ، حَدَّثَنَا الْحَسَنُ بْنُ مُوسَى، أَخْبَرَنَا زُهَيْرٌ، عَنْ أَبِي إِسْحَاقَ، قَالَ سَأَلْتُ زَيْدَ بْنَ أَرْقَمَ كَمْ غَزَوْتَ مَعَ رَسُولِ اللَّهِ صلى الله عليه وسلم قَالَ سَبْعَ عَشْرَةَ ‏.‏ قَالَ وَحَدَّثَنِي زَيْدُ بْنُ أَرْقَمَ أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم غَزَا تِسْعَ عَشْرَةَ وَأَنَّهُ حَجَّ بَعْدَ مَا هَاجَرَ حَجَّةً وَاحِدَةً حَجَّةَ الْوَدَاعِ ‏.‏ قَالَ أَبُو إِسْحَاقَ وَبِمَكَّةَ أُخْرَى ‏.‏
Reference : Sahih Muslim 1253b
In-book reference : Book 15, Hadith 241
USC-MSA web (English) reference : Book 7, Hadith 2881
  (deprecated numbering scheme)