Al-Aswad narrates from Sayyidah Aishah (may Allah be pleased with her) that she said: If a woman granted protection against the Muslims, they would regard her grant of protection as valid.