Riyad as-Salihin, Book 12, Hadith 1314 (In-Book)

Jabir (May Allah be pleased with him) reported: A man asked the Messenger of Allah: "Tell me where I will be if I am killed while fighting in the way of Allah?" He replied, "In Jannah." The man threw away the few dates which he had in his hand, jumped into the battlefield and fought on till he was killed.[Muslim]

وعن جابر رضي الله عنه قال‏:‏ قال رجل‏:‏ أين أنا يا رسول الله إن قتلت‏؟‏ قال‏:‏ “في الجنة‏ "‏ فألقى تمرات كن في يده ثم قاتل حتى قتل‏" ‏ ‏(‏‏(‏رواه مسلم‏)‏‏)‏‏.‏

sunnah.com