Premarital sex (zina) is a grave sin in Islam. In Islamic law (Shariah), the punishment for zina varies based on marital status and is subject to the legal framework of an Islamic state. The Quran and hadith prescribe severe consequences, emphasizing the importance of chastity.