The Messenger of Allah ﷺ said, "Every intoxicant is khamr, and every intoxicant is forbidden. Whoever drinks khamr in this world and dies addicted to it without repenting will not drink it in the Hereafter."
قال رسول الله ﷺ: كل مسكر خمر، كل مسكر حرام، ومن شرب الخمر في الدنيا فمات وهو يدمنها لم يتب لم يشربها في الآخرة.
Muslim narrated it in "The Book of Drinks" (2003:73) via Ayub, from Nafi, from Ibn Umar, who said, so-and-so [as mentioned]. Bukhari narrated it in "The Book of Drinks" (5575) via Malik, from Nafi, with the same chain, restricting it to the second part, with the wording, "Whoever drinks wine in this world and does not repent from it will be forbidden it in the hereafter." It is also found in Muwatta in "The Book of Drinks" (11).