Men are in charge of women1 by [right of] what Allāh has given one over the other and what they spend [for maintenance] from their wealth. So righteous women are devoutly obedient, guarding in [the husband's] absence what Allāh would have them guard.2 But those [wives] from whom you fear arrogance3 - [first] advise them; [then if they persist], forsake them in bed; and [finally], strike them [lightly].4 But if they obey you [once more], seek no means against them. Indeed, Allāh is ever Exalted and Grand.
Translation: Saheeh International (English)
1 This applies primarily to the husband-wife relationship.
2 i.e., their husbands' property and their own chastity.
3 i.e., major rebellion or refusal of basic religious obligations.
4 This final disciplinary measure is more psychological than physical. It may be resorted to only after failure of the first two measures and when it is expected to amend the situation and prevent family breakup; otherwise, it is not acceptable. The Prophet ﷺ (who never struck a woman or a servant) additionally stipulated that it must not be severe or damaging and that the face be avoided.
Men are responsible for women, protecting and taking care of them, because of the bounty He has given men over them, and because of their duty to maintain and take care of them. Righteous women are devoted to their Lord, and devoted to their husbands, protecting things for them in their absence through Allah’s help. The women who you fear would not show devotion to their husbands in what they say or do, first remind them of how they should act according to the sacred laws; if they do not change their ways, then leave them alone in bed, turning your back to them and not having sexual relations; and if they still do not change their ways, then strike them without any ferocity. If they become loyal again, then do not do anything against them, not wronging them nor blaming them. Allah is High in His essence, Great in His attributes, so be mindful of Him.