‘Ikrimah, Sumay’ and Kurayb report that Ibn ‘Abbās – Allah be pleased with them – said to them:

Marry, for if the servant of Allah commits fornication Allah snatches the light of īmān from him, and may or may not return it to him.

Ibn Sa’d in Al-Ṭabaqāt Al-Kubrā Vol.5 p287.