Sahih Muslim 1813
Sahih Muslim · Book 32: The Book of Jihad and Expeditions · The number of campaigns of the Prophet (saws)
It has been reported on the authority of Abu Zubair who heard Jabir b. `Abdullah say:
حَدَّثَنَا زُهَيْرُ بْنُ حَرْبٍ ، حَدَّثَنَا رَوْحُ بْنُ عُبَادَةَ ، حَدَّثَنَا زَكَرِيَّاءُ ، أَخْبَرَنَا أَبُو الزُّبَيْرِ ، أَنَّهُ سَمِعَ جَابِرَ بْنَ عَبْدِ اللَّهِ ، يَقُولُ غَزَوْتُ مَعَ رَسُولِ اللَّهِ صلى الله عليه وسلم تِسْعَ عَشْرَةَ غَزْوَةً - قَالَ جَابِرٌ - لَمْ أَشْهَدْ بَدْرًا وَلاَ أُحُدًا مَنَعَنِي أَبِي فَلَمَّا قُتِلَ عَبْدُ اللَّهِ يَوْمَ أُحُدٍ لَمْ أَتَخَلَّفْ عَنْ رَسُولِ اللَّهِ صلى الله عليه وسلم فِي غَزْوَةٍ قَطُّ .
I fought in the company of the Messenger of Allah (ﷺ) nineteen battles. Jabir said: I did not participate in the Battle of Badr and the Battle of Uhud. My father prevented me (from participating in these battles as my age was tender). After `Abdullah (my father) was killed on the Day of Uhud, I never lagged behind the Messenger of Allah (ﷺ) and joined every battle (he fought).