Hadith 635

It was narrated that ‘Ali (رضي الله عنه) said: The Messenger of Allah () cursed ten: the one who consumes riba, the one who pays 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, the one who withholds zakah, the one who does tattoos and the one for whom tattoos are done.

حَدَّثَنَا يَحْيَى، عَنْ مُجَالِدٍ، حَدَّثَنِي عَامِرٌ، عَنْ الْحَارِثِ، عَنْ عَلِيٍّ، رَضِيَ اللَّهُ عَنْهُ قَالَ لَعَنَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ عَشَرَةً آكِلَ الرِّبَا وَمُوكِلَهُ وَكَاتِبَهُ وَشَاهِدَيْهِ وَالْحَالَّ وَالْمُحَلَّلَ لَهُ وَمَانِعَ الصَّدَقَةِ وَالْوَاشِمَةَ وَالْمُسْتَوْشِمَةَ‏.‏

Reference: 5306010
In-book reference: Book 5, Hadith 635
Hadith 635 - Musnad 'Ali Ibn Abi Talib - Musnad Ahmad - Sunnah.com