It is narrated from Sayyiduna Ibn Abbas (may Allah be pleased with them both) as a marfu' report: "Whoever dies with disgraceful wind (gas) in his stomach, Allah will disgrace him before all the witnesses on the Day of Resurrection."
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 11890