The Messenger of Allah (ﷺ) cursed the one who accepted usury, the one who paid it, the witness to it, and the one who recorded it.
Sunan Abi Dawud Book 23, Hadith 8