ENOfficial
Sulaiman b. Surad reported God’s messenger as saying, "He who dies of an internal trouble will not be punished in his grave.” Ahmad and Tirmidhi transmitted it, the latter saying this is a gharib tradition.
Source: sunnah.com
Other translations
Arabic
وَعَن سُلَيْمَان بن صرد قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسلم: «مَنْ قَتَلَهُ بَطْنُهُ لَمْ يُعَذَّبْ فِي قَبْرِهِ» رَوَاهُ أَحْمَدُ وَالتِّرْمِذِيُّ وَقَالَ: هَذَا حَدِيثٌ غَرِيبٌ
sunnah.com