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)."
قَالَ رَسُولُ اللَّهِ ﷺ لاَ يَزْنِي الزَّانِي حِينَ يَزْنِي وَهُوَ مُؤْمِنٌ وَلاَ يَسْرِقُ السَّارِقُ حِينَ يَسْرِقُ وَهُوَ مُؤْمِنٌ وَلَكِنِ التَّوْبَةُ مَعْرُوضَةٌ وَفِي الْبَابِ عَنِ ابْنِ عَبَّاسٍ وَعَائِشَةَ وَعَبْدِ اللَّهِ بْنِ أَبِي أَوْفَى