Hazrat Umm Atiyyah (may Allah be pleased with her) says that I was among those women who pledged allegiance to the Prophet (peace be upon him). Among the conditions that the Prophet (peace be upon him) set when taking our pledge was that you will not wail (over the dead) and you will not speak to any man without a mahram.