Sayyiduna Ali (may Allah be pleased with him) said 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السنن الكبرى للبيهقي / كتاب النكاح / 14183