Narrated Abu Hurairah (may Allah be pleased with him): I heard Prophet Muhammad (Peace be upon him) saying that: “A sin was committed by one of the slaves or may be he said, that: one of the slaves committed a sin. He said: O my Lord! I have committed a sin, or he said, a sin was committed by me. So please forgive me. His Lord would say: Does My slave know that he has a Lord who can forgive him and (if He likes) can punish him. Anyhow, I have forgiven My slave.
No sooner does the time elapse as much as Allah wishes; than is another sin committed by him or he commits another sin. He says: O my Lord! I have committed a sin, or a sin was committed by me. So please forgive it. Allah will observe: Does My slave know that he has a Lord who can forgive him and (if He likes) punish him too. Anyhow, I have forgiven him again. No sooner does the time elapse as much as Allah wishes, than is another sin committed by him or he commits another sin. He says: O my Lord! I have committed another sin, or sometimes he says another sin is committed by me. So please forgive it. Allah will remark: Does My slave know that he has a Lord who can forgive him and (if He likes) can punish him too. Anyhow, I have forgiven him for the third time. So let him do whatever he wishes.”
(This Hadith is sound and reported by Bukhari and Muslim).
This is an example of Allah’s Mercy on His believers. If a believer happens to commit a sin, he should repent hoping for the forgiveness of Allah but, continuous pursuit of evils intentionally will not be fruitful in his favour because Allah has gifted every man with discretion to differentiate between good and evil. So one should be faithful to Allah and follow the example of Prophet Muhammad (Peace be upon him) in all his deeds.
Narrated Abu Sa’id Al-Khudri (may Allah be pleased with him): I heard Prophet Muhammad (Peace be upon him) saying: “The devil said to his Lord: By Your Glory and Majesty! As long as the progeny of Adam exists on earth, I shall continuously misguide them. At this Allah remarked: By My Glory and Majesty! As long as they seek My forgiveness, I will go on to pardon them.”
(This Hadith is sound and reported by Ahmad in his Musnad).
To fight the Satan we should always perform the obligatory worshipping deeds timely e.g. Prayers, Zakat, Fasting etc. Besides, remembrance of Allah (Glorified and Exalted be He) is the best way out from the Satan traps.