BAYHAQI 13885:
from a man Zaná Biāmraʾah Thum Tābā Waʾaṣlaḥā Alah —
[Machine] "That he may marry her? So he recited this verse, 'Then indeed your Lord, to those who have done evil out of ignorance and then repent after that and correct themselves - indeed, your Lord, thereafter, is Forgiving and Merciful.' [Surah An-Nahl: 119] He repeated it to him multiple times until he thought that he had given him permission in it."
البيهقي ١٣٨٨٥:
عن ا من زنى بامرءه ثم تابا وءصلحا اله —
أَنْ يَتَزَوَّجَهَا؟ فَتَلَا هَذِهِ الْآيَةَ {ثُمَّ إِنَّ رَبَّكَ لِلَّذِينَ عَمِلُوا السُّوءَ بِجَهَالَةٍ ثُمَّ تَابُوا مِنْ بَعْدِ ذَلِكَ وَأَصْلَحُوا إِنَّ رَبَّكَ مِنْ بَعْدِهَا لَغَفُورٌ رَحِيمٌ} [النحل 119] قَالَ فَرَدَّدَهَا عَلَيْهِ مِرَارًا حَتَّى ظَنَّ أَنَّهُ قَدْ رَخَّصَ فِيهَا
hadithunlocked.com