Sunan an-Nasa'i #5665 · The Book of Drinks

Sunan an-Nasa'iIt was narrated that Masruq said
Sunan an-Nasa'i · Book 51 · The Book of Drinks
Sunan an-Nasa'i · كتاب 51 · كتاب الأشربة
"If a judge accepts a gift he has consumed something unlawful, and if he accepts a bribe, that takes him to the level of Kufr." Masruq said: "Whoever drinks Khamr, he has committed (an act of) Kufr, and his Kufr is that his Salah does not count
أَخْبَرَنَا قُتَيْبَةُ، وَعَلِيُّ بْنُ حُجْرٍ، قَالاَ حَدَّثَنَا خَلَفٌ، - يَعْنِي ابْنَ خَلِيفَةَ - عَنْ مَنْصُورِ بْنِ زَاذَانَ، عَنِ الْحَكَمِ بْنِ عُتَيْبَةَ، عَنْ أَبِي وَائِلٍ، عَنْ مَسْرُوقٍ، قَالَ الْقَاضِي إِذَا أَكَلَ الْهَدِيَّةَ فَقَدْ أَكَلَ السُّحْتَ وَإِذَا قَبِلَ الرِّشْوَةَ بَلَغَتْ بِهِ الْكُفْرَ ‏.‏ وَقَالَ مَسْرُوقٌ مَنْ شَرِبَ الْخَمْرَ فَقَدْ كَفَرَ وَكُفْرُهُ أَنْ لَيْسَ لَهُ صَلاَةٌ ‏.‏
Reference : Sunan an-Nasa'i 5665In-book reference : Book 51, Hadith 127