Sahih al-Bukhari 7457
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
تَكَفَّلَ اللَّهُ لِمَنْ جَاهَدَ فِي سَبِيلِهِ، لاَ يُخْرِجُهُ إِلاَّ الْجِهَادُ فِي سَبِيلِهِ، وَتَصْدِيقُ كَلِمَاتِهِ، بِأَنْ يُدْخِلَهُ الْجَنَّةَ، أَوْ يَرْجِعَهُ إِلَى مَسْكَنِهِ الَّذِي خَرَجَ مِنْهُ، مَعَ مَا نَالَ مِنْ أَجْرٍ أَوْ غَنِيمَةٍ "
Narrated Abu Huraira:
Allah's Messenger (ﷺ) said, "Allah guarantees to the person who carries out Jihad for His Cause and nothing compelled him to go out but the Jihad in His Cause, and belief in His Words, that He will either admit him into Paradise or return him with his reward or the booty he has earned to his residence from where he went out." (See Hadith No. 555).
Full reference and source
Sahih al-Bukhari 7457 In-book : Book 97, Hadith 83 USC-MSA web (English) : Vol. 9, Book 93, Hadith 549 (deprecated)
View source on Sunnah.com (opens in a new tab)