كتاب الإمارة
33  
The Book on Government
(28)
Chapter: The virtue of Jihad and going out (to fight) in the cause of Allah
(28)
باب فَضْلِ الْجِهَادِ وَالْخُرُوجِ فِي سَبِيلِ اللَّهِ ‏‏
Sahih Muslim 1876 h

Another version of the tradition narrated through a different chain of transmitters on the authority of Abu Huraira has the same wording as the previous tradition:

" Allah takes care of one who goes out in the way of Allah" but ends in the words:" I would not lag behind any expedition which is undertaken to fight in the way of Allah, the Exalted."
حَدَّثَنِي زُهَيْرُ بْنُ حَرْبٍ، حَدَّثَنَا جَرِيرٌ، عَنْ سُهَيْلٍ، عَنْ أَبِيهِ، عَنْ أَبِي هُرَيْرَةَ، قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏ "‏ تَضَمَّنَ اللَّهُ لِمَنْ خَرَجَ فِي سَبِيلِهِ - إِلَى قَوْلِهِ - مَا تَخَلَّفْتُ خِلاَفَ سَرِيَّةٍ تَغْزُو فِي سَبِيلِ اللَّهِ تَعَالَى ‏"‏ ‏.‏
Reference : Sahih Muslim 1876h
In-book reference : Book 33, Hadith 162
USC-MSA web (English) reference : Book 20, Hadith 4633
  (deprecated numbering scheme)