Habib al-Mu'allim (may Allah have mercy on him) says: A man from the people of Kufah came to Amr bin Shu'ayb (may Allah have mercy on him) and said: "(Are you not surprised that) al-Hasan (may Allah have mercy on him) says that a fornicator who has been flogged marries only a flogged woman like him?" Amr (may Allah have mercy on him) said: "What surprises you? Sa'id al-Maqburi narrated it to us from Sayyiduna Abu Hurayrah (may Allah be pleased with him), from the Prophet (peace and blessings be upon him)."
(b) And Sayyiduna Abdullah bin Amr (may Allah be pleased with them both) used to proclaim it publicly.
(c) Amr bin Shu'ayb (may Allah have mercy on him) narrates from his father, from his grandfather, concerning the reason for the revelation of this verse, that the prohibition was against marrying those prostitutes.
(d) It is narrated from Sayyiduna Abdullah bin Amr (may Allah be pleased with them both) and through other chains that the prohibition of marrying them was either because of their polytheism or because they stipulated being left free to commit zina.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب النكاح / 13881