Sayyiduna Ali (may Allah be pleased with him) said — Isma'il said: I think he narrated the hadith as attributed to the Prophet — that the Messenger of Allah (peace and blessings be upon him) "cursed the one who carries out halalah and the one for whom it is carried out."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب النكاح / 14184