Amir narrates from Sayyidah Aishah (may Allah be pleased with her) that concerning a man who commits zina with a woman and then marries her, she used to say: "They remain fornicators."
Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) was asked about it and said: "That was zina and this is marriage." Something similar to the view of Sayyidah Aishah (may Allah be pleased with her) is mentioned from Sayyiduna al-Bara' bin Azib (may Allah be pleased with him). Her view has been countered by the view of Ibn Abbas, just as his view has been countered by hers; and with those who permit it are the proofs of the Book and the Sunnah. Success is from Allah.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب النكاح / 13888