It is narrated from Sayyiduna Uqbah bin Amir (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "Shall I not tell you about the borrowed billy-goat?" The Companions said: Certainly, O Messenger of Allah. He (peace and blessings be upon him) said: "He is the muhallil (the one who marries a divorced woman only to make her lawful for her former husband). May Allah curse the muhallil and the one for whom it is done."
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 14897