Sayyiduna Khalid bin 'Arfatah 'Udhri (may Allah be pleased with him) says: I heard the Noble Prophet (peace and blessings be upon him) saying: "Whoever dies of a stomach illness will not be subjected to the punishment of the grave."
Related hadith on this topic