[Machine] The Messenger of Allah ﷺ participated in nineteen battles and performed Hajj once after emigrating, and he did not perform another Hajj after that except for the Farewell Hajj. Abu Ishaq said: "He (the Prophet) also performed another Hajj in Makkah." Al-Bukhari mentioned this in his Sahih (authentic book) through the narration of Amru bin Khalid, and Muslim also narrated it from another perspective through the narration of Zuhayr.
أَنَّ رَسُولَ اللهِ ﷺ غَزَا تِسْعَ عَشْرَةَ غَزْوَةً وَأَنَّهُ حَجَّ بَعْدَمَا هَاجَرَ حَجَّةً وَاحِدَةً لَمْ يَحُجَّ بَعْدَهَا حَجَّةً إِلَّا حَجَّةَ الْوَدَاعِ قَالَ أَبُو إِسْحَاقَ وَبِمَكَّةَ أُخْرَى وَأَخْرَجَهُ الْبُخَارِيُّ فِي الصَّحِيحِ عَنْ عَمْرِو بْنِ خَالِدٍ وَأَخْرَجَهُ مُسْلِمٌ مِنْ وَجْهٍ آخَرَ عَنْ زُهَيْرٍ