Sahih Muslim , Book 7, Hadith 2881 (USC-MSA)

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)

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

sunnah.com