Surah Al-An'am 6:120
وَذَرُوا۟ ظَـٰهِرَ ٱلْإِثْمِ وَبَاطِنَهُۥٓ ۚ إِنَّ ٱلَّذِينَ يَكْسِبُونَ ٱلْإِثْمَ سَيُجْزَوْنَ بِمَا كَانُوا۟ يَقْتَرِفُونَ
And leave [i.e., desist from] what is apparent of sin and what is concealed thereof. Indeed, those who earn [blame for] sin will be recompensed for that which they used to commit.
Translation: Saheeh International
Tafsir
And forsake leave outward aspect of sin and its inward aspect that is what is overt of it and what is secret — it is said that ‘sin’ here means fornication or it is said any act of disobedience; surely those who earn sin shall be requited in the Hereafter for what they used to perpetrate what they used to earn.
Excerpt from Tafsir al-Jalalayn, commentary on 6:120, via Quran.com. The reader has the full commentary and 9 more tafsirs.