The religious texts demonstrate that the heart’s fixed determination will be held accountable, which includes Allah Almighty’s statement:
“Indeed, those who like that immorality should be spread [or publicized] among those who believe will have a painful punishment.”[Al-Nur 24:19]
[Nawawi’s Explanation of Sahih Muslim (1/151)]