Jami` at-Tirmidhi 2625
جامع الترمذي#2625SahihNarrated Abu Hurairah:that the Messenger of Allah (ﷺ) said: "The adulterer is not a believer while he is committing adultery, and the thief is not a believer while he is stealing, but there is a chance for repentance; (if he repents, Allah will accept the repentance)
Scholarly Authentication
We show the most cautious grade (weakest-wins) as the overall label. Individual scholars graded it as follows:
Ahmad Muhammad ShakirSahih
Al-AlbaniSahih
Bashar Awad MaaroufHasan Sahih
Zubair Ali ZaiSahih - Agreed Upon
In-book reference: 40:20