Ruling on Zina

Validity of acts of worship by someone committing a sin that entails executing the Hadd