It is narrated from Hazrat Umm Salamah (may Allah be pleased with her) that the Prophet (peace and blessings be upon him) said: By "and that they will not disobey you in what is right" is meant that women pledge allegiance on the condition that they will not wail (lament for the dead).