It has been mentioned in Ahadith that the one who dies from a stomach ailment is a Shaheed (martyr). If someone dies from belly pain, will he be considered as a Shaheed?
If someone dies from any type of stomach ailment, even stomach pains, he will be a Shaheed in the hereafter. Meaning, his burial rights will be fulfilled after he dies, however he will be given the status of the Shuhada (martyrs) in the hereafter.
And Allah knows best.