Hadithcore
Mishkat al-Masabih, 1573

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 <i>gharib</i> tradition.

وَعَن سُلَيْمَان بن صرد قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسلم: «مَنْ قَتَلَهُ بَطْنُهُ لَمْ يُعَذَّبْ فِي قَبْرِهِ» رَوَاهُ أَحْمَدُ وَالتِّرْمِذِيُّ وَقَالَ: هَذَا حَدِيثٌ غَرِيبٌ

References1 variant
In-Book Reference
Book 5, Hadith 51