Sahih al-Bukhari 3123
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 him who strives in His Cause and whose motivation for going out is nothing but Jihad in His Cause and belief in His Word, that He will admit him into Paradise (if martyred) or bring him back to his dwelling place, whence he has come out, with what he gains of reward and booty."
Full reference and source
Sahih al-Bukhari 3123 In-book : Book 57, Hadith 32 USC-MSA web (English) : Vol. 4, Book 53, Hadith 352 (deprecated)
View source on Sunnah.com (opens in a new tab)