The Messenger of Allah ﷺ cursed the one who consumes usury, the one who pays it, the two who witness it, and the one who records it.
حدثنا عبد الرزاق أنبأنا إسرائيل عن سماك عن عبد الرحمن بن عبد الله
لعن رسول الله ﷺ آكل الربا وموكله وشاهديه وكاتبه
Its isnad is sahih, and it is an abridgment of 3725.