Allah's Messenger (ﷺ) forbade Ash-Shighar, which means that somebody marries his daughter…

Sahih al-Bukhari Book 67 Hadith 49

Sahih al-Bukhari #5112

Wedlock, Marriage (Nikaah) 67:49

Narrated Ibn `Umar:

Allah's Messenger (ﷺ) forbade Ash-Shighar, which means that somebody marries his daughter to somebody else, and the latter marries his daughter to the former without paying Mahr.

Chapter: Ash-Shighar. (Exchange of daughters or sisters in marriage without paying Mahr)

Grade: Sahih