Ikrimah narrates from Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) concerning one who commits zina with a woman and then marries her. He said: "First it was zina, then marriage; there is no harm in it."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب النكاح / 13879