The Messenger of Allah ﷺ cursed the one who consumes usury, the one who pays it, the one who records it, and its two witnesses, and he said, "They are all equal."
لعن رسول الله ﷺ آكل الربا، ومؤكله، وكاتبه، وشاهديه، وقال: هم سواء.
Muslim reported it in the chapter on Musaqah (1598) through several routes from Hushaym, who said, Abu Zubayr told us, from Jabir, who said, then he mentioned it.