Sunan an-Nasa'i 5665
سنن النسائي#5665Da'ifIt 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
Scholarly Authentication
We show the most cautious grade (weakest-wins) as the overall label. Individual scholars graded it as follows:
Abu GhuddahDaif Isnaad Maqtu
Al-AlbaniDaif Isnaad Maqtu
Zubair Ali ZaiDaif
In-book reference: 51:127