كتاب الإمارة
33  
The Book on Government
(41)
Chapter: Affirmation of Paradise for the Martyr
(41)
باب ثُبُوتِ الْجَنَّةِ لِلشَّهِيدِ ‏‏
Sahih Muslim 1899

It has been reported on the authority of Jabir that a man said:

Messenger of Allah, where shall I be if I am killed? He replied: In Paradise. The man threw away the dates he had in his hand and fought until he was killed (i. e. he did not wait until he could finish the dates). In the version of the tradition narrated by Suwaid we have the words:" A man said to the Prophet (ﷺ). on the day of Uhud......"
حَدَّثَنَا سَعِيدُ بْنُ عَمْرٍو الأَشْعَثِيُّ، وَسُوَيْدُ بْنُ سَعِيدٍ، - وَاللَّفْظُ لِسَعِيدٍ - أَخْبَرَنَا سُفْيَانُ، عَنْ عَمْرٍو، سَمِعَ جَابِرًا، يَقُولُ قَالَ رَجُلٌ أَيْنَ أَنَا يَا، رَسُولَ اللَّهِ إِنْ قُتِلْتُ قَالَ ‏ "‏ فِي الْجَنَّةِ ‏"‏ ‏.‏ فَأَلْقَى تَمَرَاتٍ كُنَّ فِي يَدِهِ ثُمَّ قَاتَلَ حَتَّى قُتِلَ ‏.‏ وَفِي حَدِيثِ سُوَيْدٍ قَالَ رَجُلٌ لِلنَّبِيِّ صلى الله عليه وسلم يَوْمَ أُحُدٍ ‏.‏
Reference : Sahih Muslim 1899
In-book reference : Book 33, Hadith 208
USC-MSA web (English) reference : Book 20, Hadith 4678
  (deprecated numbering scheme)