Sunan Abu Dawud #4414
Prescribed Punishments (Kitab Al-Hudud) 40:64
Mujahid said:
“Apponting a way in the verse (iv.15) means prescribed punishment.Sufiyan said: “Punish them “refers to unmarried, and “confine them to houses” refers to the women who are married.