[Machine] The Messenger of Allah ﷺ forbade "shighar", and "shighar" is when a man marries off his daughter on the condition that the other man will marry off his daughter in return, but there is no dowry between them. Yahya did not mention the other man.
رَسُولَ اللهِ ﷺ نَهَى عَنِ الشِّغَارِ وَالشِّغَارُ أَنْ يُزَوِّجَ الرَّجُلُ ابْنَتَهُ عَلَى أَنْ يُزَوِّجَهُ الرَّجُلُ الْآخَرُ ابْنَتَهُ وَلَيْسَ بَيْنَهُمَا صَدَاقٌ وَلَمْ يَذْكُرْ يَحْيَى الرَّجُلَ الْآخَرَ