´It was narrated that Masruq said:` "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."
Hadith Referenceسنن نسائي / كتاب الأشربة / 5668
Hadith Gradingالألبانی:ضعيف الإسناد مقطوع | زبیر علی زئی:ضعيف، إسناده ضعيف، الحكم بن عتيبة عنعن. انوار الصحيفه، صفحه نمبر 366
Hadith Takhrij«تفرد بہ النسائي (تحفة الأشراف: 19433) (ضعیف الإسناد) (اس کے راوی ’’ خلف ‘‘ حافظہ کے کمزور ہیں)»
Brief Explanation
1؎: That is, from a person from whom he did not use to take (anything) before becoming a judge.