As for those of your women who are guilty of lewdness, call to witness four of you against them. And if they testify (to the truth of the allegation) then confine them to the houses until death takes them or (until) Allah appoint for them a way (through new legislation).
It is clear from this verse that;
It is said that your women, it should be “someone’s woman that is she must be married.”
Until God makes a way for married women to commit prostitution among everyone. What’s the way? If she can escape, she’ll run away from that community. Because the way means “escape, tunnel” for those held in prison.