Explanation
The Prophet (may Allah's peace and blessings be upon him) narrates from his Lord that if a servant commits a sin and then says, "O Allah, forgive my sin", Allah Almighty says: My servant committed a sin and then realized that he has a Lord Who forgives sins, covers him and pardons him, or punishes for sins. I have forgiven him. Then, the servant again commits a sin and says, "O Allah, forgive my sin", and Allah says: My servant committed a sin and then realized that he has a Lord Who forgives sins, covers him and pardons him, or punishes for sins. I have forgiven My servant. Then, again, the servant commits a sin and says, "O Allah, forgive my sin", and Allah says: My servant committed a sin and then realises that he has a Lord Who forgives sins, covers him and pardons him, or punishes for sins. I have forgiven My servant. Let him do whatever he wishes, as long as he gives it up every time he sins, feels regretful, and determines not to do it again; yet, his self overcomes him, and he falls into the sin again and again. So, as long as he acts like this, sinning and repenting, I will forgive him. Indeed, repentance abolishes what is before it.