Musnad Ahmad 1120
It was narrated that ash-Shaʼbi said:
Muhammad (ﷺ) cursed the one who consumes riba, the one who pays it, the one who writes it down, the one who witnesses it, the woman who does tattoos and the woman who gets tattoos done. Ibn ‘Awn said: Except in the case of illness? He said: Yes. [And he continued:]... 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, and the one who withholds zakah. And he forbade wailing (for the dead). He did not say curse. I said: Who told you? He said: al-Harith al-A’war al-Hamdani.
حَدَّثَنَا مُحَمَّدُ بْنُ أَبِي عَدِيٍّ، عَنِ ابْنِ عَوْنٍ، عَنِ الشَّعْبِيِّ، قَالَ لَعَنَ مُحَمَّدٌ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ آكِلَ الرِّبَا وَمُوكِلَهُ وَكَاتِبَهُ وَشَاهِدَهُ وَالْوَاشِمَةَ وَالْمُتَوَشِّمَةَ قَالَ ابْنُ عَوْنٍ قُلْتُ إِلَّا مِنْ دَاءٍ قَالَ نَعَمْ وَالْحَالَّ وَالْمُحَلَّلَ لَهُ وَمَانِعَ الصَّدَقَةِ وَقَالَ وَكَانَ يَنْهَى عَنْ النَّوْحِ وَلَمْ يَقُلْ لَعَنَ فَقُلْتُ مَنْ حَدَّثَكَ قَالَ الْحَارِثُ الْأَعْوَرُ الْهَمْدَانِيُّ‏.‏