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