Abu Hurairah (RA) reported that Allah's Messenger (ﷺ) prohibited Shighar. Ibn Numair added: Shighar means that a person should say to the other person: Give me the hand of your daughter in marriage and I will (in return) marry my daughter to you; or marry me your sister, and I will marry my sister to you.
This hadith has been narrated on the authority of 'Ubaidullah (bin 'Umar) with the same chain of transmitters, but there is no mention of the addition of Ibn Numair.
´It was narrated that Abu Hurairah said:` "The Messenger of Allah forbade Ash-Shighar." (One of the narrators) 'Ubaidullah said: "Ash-Shighar means when a man gives his daughter in marriage on condition that (the other man) gives him his sister in marriage."
Hafiz Muhammad Ameen
"This 'his sister' is merely an example; otherwise, if the condition of marriage pertains to anyone—whether it is a daughter, a sister, a niece (brother's daughter), or a niece (sister's daughter), etc.—there is no difference."
Source: Sunan Nasa'i: Translation and Benefits by Shaykh Hafiz Muhammad Amin Hafizullah, Page: 3340