Surah An-Nur, Ayah 3
Quran 24:3 · Juz 18 · Medinan
ٱلزَّانِي لَا يَنكِحُ إِلَّا زَانِيَةً أَوۡ مُشۡرِكَةٗ وَٱلزَّانِيَةُ لَا يَنكِحُهَآ إِلَّا زَانٍ أَوۡ مُشۡرِكٞۚ وَحُرِّمَ ذَٰلِكَ عَلَى ٱلۡمُؤۡمِنِينَ
Az-zānī lā yankiḥu illā zāniyatan au musyrikah(tan), waz-zāniyatu lā yankiḥuhā illā zānin au musyrik(un), wa ḥurrima żālika ‘alal-mu'minīn(a).
The fornicator does not marry except a [female] fornicator or polytheist, and none marries her except a fornicator[975] or a polytheist, and that [i.e., marriage to such persons] has been made unlawful to the believers.
[975] Included in this ruling is the adulterer as well. Such persons cannot be married to believers unless they have repented and reformed.