The third verse of Surah 24 says that an adulterer must not marry anyone other than an adulteress or an unbeliever. How can they search for someone of the same type of behavior, telling them of their own conduct?
The verse in question may be translated as follows:
“The adulterer couples with none other than an adulteress or an idolatress; and with the adulteress couples none other than an adulterer or an idolater. This is forbidden to the believers.” (Light — “Al-Noor” 24: 3)
The verse does not give an order to adulterers concerning what marriage partners they should seek. Rather, it shows the repugnant nature of their action and makes it clear that marrying such people is not allowed for believers.
It is not permissible to marry a habitual adulterer unless that person sincerely repents first and declares his or her intention to lead a clean and virtuous life, in accordance with Islamic teachings.