The Messenger of Allah ﷺ forbade shighar marriage.Musaddad added in his version, I asked Nafi, "What is shighar?"He replied, "It is when a man marries off his daughter to another man on the condition that the other man marries his own daughter to him, with no dowry exchanged between them, or when a man marries off his sister to another man on the condition that the other man marries his sister to him, with no dowry."
حدثنا القعنبي عن مالك ح و حدثنا مسدد بن مسرهد حدثنا يحيى عن عبيد الله كلاهما عن نافع
أن رسول الله ﷺ نهى عن الشغار زاد مسدد في حديثه قلت لنافع ما الشغار قال ينكح ابنة الرجل وينكحه ابنته بغير صداق وينكح أخت الرجل وينكحه أخته بغير صداق
Bukhari narrated it in the Book of Marriage, Chapter on Shighar, no. 5112, and Muslim in the Book of Marriage, Chapter on the Prohibition and Invalidity of Marriage by Shighar, no. 1415, from the hadith of Malik through this same chain. It is also found in Muwatta (Yahya): 2/535.