The Messenger of Allah (ﷺ) cursed the one who bribes and the one who takes bribe.
Sunan Abi Dawud Book 25, Hadith 10