The Messenger of Allah ﷺ forbade shighar. Shighar is when a man says to another, "Give me your daughter or sister in marriage, and I will give you my daughter or sister in marriage," with no dowry between them.
حدثنا سويد بن سعيد حدثنا مالك بن أنس عن نافع
نهى رسول الله ﷺ عن الشغار والشغار أن يقول الرجل للرجل زوجني ابنتك أو أختك على أن أزوجك ابنتي أو أختي وليس بينهما صداق
Bukhari narrated it in the chapter on marriage, in the section on shighar marriage, 5/12, and Muslim narrated it in the chapter on marriage, in the section on the prohibition and invalidity of shighar marriage, hadith 1415, both from the hadith of Malik through this route.