حَدَّثَنَا سَعِيدٌ قَالَ: نا سُفْيَانُ، قَالَ: حَدَّثَنِي عُبَيْدُ اللَّهِ بْنُ أَبِي يَزِيدَ قَالَ: سَأَلْتُ ابْنَ عَبَّاسٍ عَنْ رَجُلٍ فَجَرَ بِامْرَأَةٍ، أَيَنْكِحُهَا؟ قَالَ: «نَعَمْ، ذَاكَ حِينَ أَصَابَ الْحَلَالَ»
Sayyiduna Ibn Abbas (may Allah be pleased with them both) was asked: If a man commits adultery with a woman, can he marry her? He replied: "Yes, when he marries in a lawful manner."