Musnad Ahmad 721
It was narrated that ‘Ali (رضي الله عنه) said:
The Messenger of Allah (ﷺ) cursed the one who pays riba, the one who consumes it, 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.
حَدَّثَنَا خَلَفُ بْنُ الْوَلِيدِ، حَدَّثَنَا إِسْرَائِيلُ، عَنْ أَبِي إِسْحَاقَ، عَنِ الْحَارِثِ، عَنْ عَلِيٍّ، رَضِيَ اللَّهُ عَنْهُ قَالَ لَعَنَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ صَاحِبَ الرِّبَا وَآكِلَهُ وَشَاهِدَيْهِ وَالْمُحَلِّلَ وَالْمُحَلَّلَ لَهُ‏.‏