In Explanation of Wine, and the Threat to him who Drinks it - Section 3 Mishkat al-Masabih 3656

Arabic hadith text
وَعَنْ أَبِي مُوسَى الْأَشْعَرِيِّ أَنَّ النَّبِيَّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ:" ثَلَاثَةٌ لَا تَدْخُلُ الجنَّةَ: مُدْمنُ الخمرِ وقاطِعُ الرَّحِم ومصدق السحر "رَوَاهُ أَحْمد
Translation
Abu Musa al-Ash‘ari reported the Prophet as saying, “There are three who will not enter paradise

one who is addicted to wine, one who breaks ties of relationship, and one who believes in magic.” Ahmad transmitted it.