There is no doubt that it was ‘Ali ؓ - said: The Messenger of Allah ﷺ cursed the one who consumes riba, the one who pays it, the two who witness it, the one who writes it is down, the one who does tattoo the one for whom tattoos are done, the one who marries a woman and is divorces her so that she become permissible for her first husband, the one for whom that is done and the one who withholds zakah. And he forbade wailing.
عَنْ رَجُلٍ مِنْ أَصْحَابِ النَّبِيِّ ﷺ قَالَ لَا أَشُكُّ إِلَّا أَنَّهُ عَلِيٌّ قَالَ لَعَنَ رَسُولُ اللهِ ﷺ آكِلَ الرِّبَا وَمُوكِلَهُ وَشَاهِدَيْهِ وَكَاتِبَهُ وَالْوَاشِمَةَ وَالْمُسْتَوْشِمَةَ وَالْمُحِلِّ وَالْمُحَلَّلَ لَهُ وَمَانِعَ الصَّدَقَةِ وَكَانَ يَنْهَى عَنِ النَّوْحِ