It is narrated from Ibn Umar and Jabir bin Abdullah (may Allah be pleased with them) that the Prophet ﷺ forbade shighar. Imam Malik (may Allah have mercy on him) added these words in his narration: Shighar is when a man marries off his daughter to another man on the condition that the latter marries his own daughter to him.
Hadith Referenceمسند الإمام الشافعي / كتاب النكاح / 1166
Hadith Takhrijصحیح اخرجه البيهقي في المعرفة السنن والآثار (4229)۔