The Prophet [SAW] said: "Whoever drinks Khamr and puts it in his belly, Allah will not accept his Salah for seven (days), if he dies during them" - Muhammad bin Adam (One of the narrators) said: "he will die a Kafir. If he was too intoxicated to offer any of the obligatory" - Ibn Adam said: "or recite Qur'an, his Salah will not be accepted for 40 days, and if he dies during them," And Ibn Adam said: "He will die a Kafir."
عَنِ النَّبِيِّ ﷺ وَقَالَ مُحَمَّدُ بْنُ آدَمَ عَنْ رَسُولِ اللَّهِ ﷺ قَالَ مَنْ شَرِبَ الْخَمْرَ فَجَعَلَهَا فِي بَطْنِهِ لَمْ يَقْبَلِ اللَّهُ مِنْهُ صَلاَةً سَبْعًا إِنْ مَاتَ فِيهَا وَقَالَ ابْنُ آدَمَ فِيهِنَّ مَاتَ كَافِرًا فَإِنْ أَذْهَبَتْ عَقْلَهُ عَنْ شَىْءٍ مِنَ الْفَرَائِضِ وَقَالَ ابْنُ آدَمَ الْقُرْآنِ لَمْ تُقْبَلْ لَهُ صَلاَةٌ أَرْبَعِينَ يَوْمًا إِنْ مَاتَ فِيهَا وَقَالَ ابْنُ آدَمَ فِيهِنَّ مَاتَ كَافِرًا