Qatadah (may Allah have mercy on him) narrates from Sa'id bin Jubayr (may Allah have mercy on him) concerning this verse: "The fornicator does not marry except a fornicatress or a polytheist woman" [Surah al-Nur: 3], that there were prostitutes in Madinah whose state was well known, so Allah forbade the believers from marrying them. This is the view of Qatadah (may Allah have mercy on him).
Hadith Referenceالسنن الكبرى للبيهقي / كتاب النكاح / 13863