As for those of your women who are guilty of gross immoral conduct, call upon four from among you to bear witness against them. If they so testify, then confine the guilty women to their houses until death takes them or God opens another way for them.