The Messenger of Allah ﷺ cursed the one who pays riba, the one who consumes it, the one who writes it down, the two who witness it, the one who marries a woman and divorces her so that she becomes permissible for her first husband, and the one for whom that is done.
لَعَنَ رَسُولُ اللهِ ﷺ صَاحِبَ الرِّبَا وَآكِلَهُ وَكَاتِبَهُ وَشَاهِدَيْهِ وَالْمُحَلِّلَ وَالْمُحَلَّلَ لَهُ