‘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, Al-Ṭabaqāt Al-Kubrā (Dār Ṣādir ed.), Vol.5 p287.