"The Messenger of Allah (ﷺ) cursed the one who bribes and the one who takes a bribe for a judgement."

Jami` at-Tirmidhi Book 15, Hadith 16