It was narrated from 'Abdullah bin 'Abdullah bin Jabr, from his father, that the Messenger of Allah (ﷺ) visited Jabr (when he was sick). When he entered he heard the women crying and saying:
We thought that your death would come when fighting in the cause of Allah. He said: You think that martyrdom only comes when one is killed in the cause of Allah. In that case your martyrs would be few. Being killed in the cause of Allah is martyrdom, dying of an abdominal complaint is martyrdom, being burned to death is martyrdom, drowning is martyrdom, being crushed beneath a falling wall is martyrdom, dying of pleurisy is martyrdom, and the woman who dies along with her fetus is a martyr. A man said: Are you weeping when the Messenger of Allah (ﷺ) is sitting here? He said: Let them be, but if he dies on one should weep for him.