An-Nur 24:3
ٱلزَّانِى لَا يَنكِحُ إِلَّا زَانِيَةً أَوْ مُشْرِكَةً وَٱلزَّانِيَةُ لَا يَنكِحُهَآ إِلَّا زَانٍ أَوْ مُشْرِكٌ ۚ وَحُرِّمَ ذَٰلِكَ عَلَى ٱلْمُؤْمِنِينَ
Azzanee la yankihuilla zaniyatan aw mushrikatan wazzaniyatula yankihuha illa zanin awmushrikun wahurrima thalika AAalaalmu/mineen
The fornicator does not marry except a [female] fornicator or polytheist, and none marries her except a fornicator or a polytheist, and that [i.e., marriage to such persons] has been made unlawful to the believers.
A man who is fornicator does not (like to) marry but a woman who is a fornicator or a polytheist; and a woman who is a fornicator does not (like to) marry but a man who is a fornicator or a polytheist. And this (i.e. preferring to marry such spouses) has been prohibited for the believers.