"The Messenger of Allah ﷺ cursed the one who consumed Riba, and the one who charged it, those who witnessed it, and the one who recorded it." He said: There are narrations on this topic from 'Umar, 'Ali, Jabir [and Abu Juhaifah]. The Hadith of 'Abdullah (bin Mas'ud) is a Hasan Sahih Hadith.
لَعَنَ رَسُولُ اللَّهِ ﷺ آكِلَ الرِّبَا وَمُوكِلَهُ وَشَاهِدَيْهِ وَكَاتِبَهُ قَالَ وَفِي الْبَابِ عَنْ عُمَرَ وَعَلِيٍّ وَجَابِرٍ وَأَبِي جُحَيْفَةَ