Al-Zuhri (may Allah have mercy on him) and Abdullah bin Abi Bakr (may Allah have mercy on him) say that Sayyidah Umm Kulthum bint Uqbah bin Abi Mu'ayt (may Allah be pleased with her) emigrated to the Messenger of Allah (peace and blessings be upon him) in the year of al-Hudaybiyyah. Then the two sons of Uqbah came to the Messenger of Allah (peace and blessings be upon him) to take their sister back, but he (peace and blessings be upon him) refused to return her. (b) Al-Zuhri (may Allah have mercy on him) narrated concerning the Treaty of al-Hudaybiyyah that Suhayl had made the condition in the agreement about men. This indicates that women were not included in it at all.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الجزية / 18836