Muwatta Malik, Book 16, Hadith 36 (USC-MSA)

Yahya related to me from Malik from Abdullah ibn Abdullah ibn Jabir ibn Atik that Atik ibn al-Harith, the grandfather of Abdullah ibn Abdullah ibn Jabir on his mother's side, told him that Jabir ibn Atik had told him that the Messenger of Allah, may Allah bless him and grant him peace, came to visit Abdullah ibn Thabit and found him in his death-throes. He called to him but he did not reply. The Messenger of Allah, may Allah bless him and grant him peace, said, "We belong to Allah, and to Him we are returning," and added, "You are being taken from us, Abur-Rabi`." The women cried out and wept, and Jabir began to silence them. The Messenger of Allah, may Allah bless him and grant him peace, said, "Leave them, and when the necessary time comes, none of the women should cry." They said, "Messenger of Allah, what is the necessary time?" and he replied, "When he dies." The dying man's daughter said, "By Allah, I hope that you will be a martyr, for you have completed your preparations for battle," and the Messenger of Allah, may Allah bless him and grant him peace, said, "Allah has made his reward fall according to his intention. What do you consider dying a martyr to be?" They said, "Death in the way of Allah." The Messenger of Allah, may Allah bless him and grant him peace, said, "There are seven kinds of martyr other than those killed in the way of Allah. Someone who is killed by the plague is a martyr, someone who drowns is a martyr, someone who dies of pleurisy is a martyr, someone who dies of a disease of the belly is a martyr, someone who dies by fire is a martyr, someone who dies under a falling building is a martyr and a woman who dies in childbirth is a martyr."

حَدَّثَنِي يَحْيَى، عَنْ مَالِكٍ، عَنْ عَبْدِ اللَّهِ بْنِ عَبْدِ اللَّهِ بْنِ جَابِرِ بْنِ عَتِيكٍ، عَنْ عَتِيكِ بْنِ الْحَارِثِ، - وَهُوَ جَدُّ عَبْدِ اللَّهِ بْنِ عَبْدِ اللَّهِ بْنِ جَابِرٍ أَبُو أُمِّهِ - أَنَّهُ أَخْبَرَهُ أَنَّ جَابِرَ بْنَ عَتِيكٍ أَخْبَرَهُ أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم جَاءَ يَعُودُ عَبْدَ اللَّهِ بْنَ ثَابِتٍ فَوَجَدَهُ قَدْ غُلِبَ عَلَيْهِ فَصَاحَ بِهِ فَلَمْ يُجِبْهُ فَاسْتَرْجَعَ رَسُولُ اللَّهِ صلى الله عليه وسلم وَقَالَ ‏"‏ غُلِبْنَا عَلَيْكَ يَا أَبَا الرَّبِيعِ ‏"‏ ‏.‏ فَصَاحَ النِّسْوَةُ وَبَكَيْنَ فَجَعَلَ جَابِرٌ يُسَكِّتُهُنَّ ‏.‏ فَقَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏"‏ دَعْهُنَّ فَإِذَا وَجَبَ فَلاَ تَبْكِيَنَّ بَاكِيَةٌ ‏"‏ ‏.‏ قَالُوا يَا رَسُولَ اللَّهِ وَمَا الْوُجُوبُ قَالَ ‏"‏ إِذَا مَاتَ ‏"‏ ‏.‏ فَقَالَتِ ابْنَتُهُ وَاللَّهِ إِنْ كُنْتُ لأَرْجُو أَنْ تَكُونَ شَهِيدًا فَإِنَّكَ كُنْتَ قَدْ قَضَيْتَ جِهَازَكَ ‏.‏ فَقَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏"‏ إِنَّ اللَّهَ قَدْ أَوْقَعَ أَجْرَهُ عَلَى قَدْرِ نِيَّتِهِ وَمَا تَعُدُّونَ الشَّهَادَةَ ‏"‏ ‏.‏ قَالُوا الْقَتْلُ فِي سَبِيلِ اللَّهِ ‏.‏ فَقَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏"‏ الشُّهَدَاءُ سَبْعَةٌ سِوَى الْقَتْلِ فِي سَبِيلِ اللَّهِ الْمَطْعُونُ شَهِيدٌ وَالْغَرِقُ شَهِيدٌ وَصَاحِبُ ذَاتِ الْجَنْبِ شَهِيدٌ وَالْمَبْطُونُ شَهِيدٌ وَالْحَرِقُ شَهِيدٌ وَالَّذِي يَمُوتُ تَحْتَ الْهَدْمِ شَهِيدٌ وَالْمَرْأَةُ تَمُوتُ بِجُمْعٍ شَهِيدٌ ‏"‏ ‏.‏

sunnah.com

also referenced under: Book 16, Hadith 558 (In-Book)