The Messenger of Allah ﷺ forbade exchange marriage. Exchange marriage means that a man gives his daughter in marriage to another on the condition that the other gives him his daughter in marriage, with no dower between them.
حدثني يحيى عن مالك عن نافع
أن رسول الله ﷺ نهى عن الشغار والشغار أن يزوج الرجل ابنته على أن يزوجه الآخر ابنته ليس بينهما صداق