As for those of your women who are guilty of immoral conduct , call upon four from amongst you to bear witness against them . And if four men do bear witness , confine those women to their houses until either death takes them away or Allah opens some way for them .