Sufyan al-Thawri reported: It was said to Hasan al-Basri, may Allah have mercy on him, regarding a man who sins and then repents, then sins and repents three more times. Hasan said, “These are the manners of the believer.”
Source: al-Wajīz fī Dhikr al-Majāz 17
عن سُفْيَان الثَّوْرِي قيل للحسن البصري رحمه الله أَنَّهُ قَالَ فِي الرَّجُلِ يُذْنِبُ ثُمَّ يَتُوبُ ثُمَّ يُذْنِبُ ثُمَّ يَتُوبُ ثَلَاثًا قَالَ تِلْكَ أَخْلَاقُ الْمُؤْمِنِ
17 الوجيز في ذكر المجاز والمجيز للسلفي في الرجل يذنب ثم يتوب