It is narrated from Ibn Umar (may Allah be pleased with them both) that the Messenger of Allah (peace and blessings be upon him) forbade Shighar marriage, and Shighar is that a man marries his daughter to another on the condition that he will marry his daughter to him, and there will be no dowry between them.
Hadith Referenceمسند الإمام الشافعي / كتاب النكاح / 1163
Hadith Takhrijأخرجه البخاري، النكاح، باب الشغار (5112) ومسلم ، النكاح، باب تحريم نكاح الشغار وبطلانه (1415)۔