Ibn Abbas (may Allah be pleased with them both) said: "And those of your women who commit immorality" [Surah al-Nisa: 15]; after this He mentioned the men: "And the two among you who commit it, harm them both" [Surah al-Nisa: 16]. Then both these verses were abrogated by the verse of flogging, namely: "The fornicatress and the fornicator, flog each one of them with a hundred lashes" [Surah al-Nur: 2].
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الحدود / 16903