Sayyidah Aishah bint Qudamah bin Maz'un (may Allah be pleased with her) said: I was with my mother Ra'itah bint Sufyan, a woman of the Khuza'ah tribe, while the Prophet (peace and blessings be upon him) was taking the pledge of allegiance from the women, saying: "I take your pledge that you will not associate anything with Allah, you will not steal, you will not commit adultery, you will not kill your children, you will not bring a slander that you have fabricated between your hands and your feet, and you will not disobey me in anything good." She said: The women fell silent, so the Messenger of Allah (peace and blessings be upon him) said: "Say: Yes, as far as we are able." So they said: Yes, as far as we are able. She said: I would say just what they said, and my mother would say: Say: Yes. So I would say: Yes.
Hadith Referenceالمعجم الكبير للطبراني / مسند النساء / 21227