If any of your women are guilty of fornication, ask for four reliable witnesses from among yourselves against them; and if they testify and their guilt is proved, confine them to their houses until they die or Allah opens some other way out for them.
Meaning:-
fornication: Sexual intercourse between people not married to each other.
Confine: the borders or boundaries of a place, especially with regard to their restricting freedom of movement.