Sunan Ibn Majah, Book 24, Hadith 2859 (In-Book) ⓘ
It was narrated from Abu Sa’eed Al-Khudri that the Prophet said: “The one who fights in the cause of Allah has a guarantee from Allah. Either He will raise him to His forgiveness and mercy, or He will send him back with reward and spoils of war. The likeness of the one who fights in the cause of Allah is that of one who fasts and prays at night without ceasing, until he returns.”
حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، وَأَبُو كُرَيْبٍ قَالاَ حَدَّثَنَا عُبَيْدُ اللَّهِ بْنُ مُوسَى، عَنْ شَيْبَانَ، عَنْ فِرَاسٍ، عَنْ عَطِيَّةَ، عَنْ أَبِي سَعِيدٍ الْخُدْرِيِّ، عَنِ النَّبِيِّ صلى الله عليه وسلم قَالَ " الْمُجَاهِدُ فِي سَبِيلِ اللَّهِ مَضْمُونٌ عَلَى اللَّهِ إِمَّا أَنْ يَكْفِتَهُ إِلَى مَغْفِرَتِهِ وَرَحْمَتِهِ وَإِمَّا أَنْ يَرْجِعَهُ بِأَجْرٍ وَغَنِيمَةٍ وَمَثَلُ الْمُجَاهِدِ فِي سَبِيلِ اللَّهِ كَمَثَلِ الصَّائِمِ الْقَائِمِ الَّذِي لاَ يَفْتُرُ حَتَّى يَرْجِعَ " .
also referenced under: Hadith 2754 (Reference) & Volume 4, Book 24, Hadith 2754 (DarusSalam)