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.