Shaykh Umar Farooq Saeedi
Benefits and Issues:
In the early days of Islam, before the prescribed punishment (hadd) for adultery was revealed, this was the ruling: that immoral women or men should be given a general punishment and women should be confined to their homes.
Later, the well-known prescribed punishment (hadd) was revealed.
And in those countries where the Islamic legal punishments (hudud) are not implemented, this ruling can be acted upon.
Source: Sunan Abu Dawood – Commentary by Shaykh Umar Farooq Saeedi, Page: 4413