It is narrated from Sayyiduna Ali (may Allah be pleased with him) that "Muhammad (peace and blessings be upon him) cursed the one who consumes usury (riba), the one who pays it, its two witnesses, its scribe, the woman who tattoos, the woman who has herself tattooed, the one who performs halalah and the one for whom halalah is performed, and the one who withholds zakah; and he (peace and blessings be upon him) also forbade wailing (over the dead)." The narrator did not mention the word 'curse' regarding the last part of the hadith (wailing).
Hadith Referenceمسند أبي يعلى الموصلي / مسند علي بن أبي طالب رضي الله عنه / 402
Hadith Gradingمحدثین:إسناده ضعيف
Hadith Takhrij«حکم الحدیث مسند ابی یعلی محققاً تنسیق حسين سليم أسد - مکتبہ شاملہ :قال حسين سليم أسد: إسناده ضعيف . » «قال سعيد بن محمد السناري: صحيح لغيره: دون قوله: "ومانع الصدقة"» «أخرجه سنن الترمذي برقم: 1119، وأخرجه سنن أبي داود برقم: 2076، وأخرجه سنن ابن ماجه برقم: 1935، وأخرجه مسند أحمد برقم: 1123، وأخرجه المعجم الأوسط للطبراني برقم: 7059، مسند ابویعلیٰ ترقیم الاثری: 397»