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

It wasnarrated from Abu Sa’eed Al-Khudri that the Prophet (PBUH)said: “The one who fights in the cause of Allah has a guarantee fromAllah. Either He will raise him to His forgiveness and mercy, or Hewill send him back with reward and spoils of war. The likeness of theone who fights in the cause of Allah is that of one who fasts andprays at night without ceasing, until he returns.” Translation Not Available

Book Ref: Sunan Ibn Majah Book 24 Hadith 2754
Web Ref:  Sunan Ibn Majah Vol 4 Book 24 Hadith 2754