I believe Punishments for fornication (sex before marriage), and adultery (extramarital sex during marriage) are different punishments. According to the Quran, fornication = lashes. A limited number. Adultery, according to Hadith literature, is death. Adultery punishment according to the Quran = still debated whether its just lashes or death.