Allah would have them guard.
and set forth to them/ strike them.
If any of your women are guilty of lewdness, Take the evidence of four (Reliable) witnesses from amongst you against them; and if they testify, confine them to houses until death do claim them, or Allah ordain for them some (other) way.
Men are the protectors and maintainers of women, because Allah has given the one more (strength) than the other, and because they support them from their means. Therefore the righteous women are devoutly obedient, and guard in (the husband's) absence what Allah would have them guard. As to those women on whose part ye fear disloyalty and ill-conduct, admonish them (first), (Next), refuse to share their beds, (And last) beat them (lightly); but if they return to obedience, seek not against them Means (of annoyance): For Allah is Most High, great (above you all).
你们的妇女,若作丑事,你们当在你们的男人中寻求四个人作见证;如果他们已作证,你们就应当把她们拘留在家里,直到她们死亡, 或真主为她们开辟一条出路。
男人是维护妇女的,因为真主使他们比她们更优越,又因为他们所费的财产。贤淑的女子是服从的,是借真主的保佑而保守隐微的。你们怕她们执拗的妇女,你们可以劝戒她们,可以和她们同床异被,可以打她们。如果她们服从你们,那末,你们不要再想法欺负她们。真主确是至尊的,确是至大的。