How Prophet Muhammad (Pbuh) taught a Companion to repent when he kissed a Woman?
A man kissed a woman. So he came to the Messenger of Allah (ﷺ) and informed him about it. Then Allah revealed this Ayah: “And perform the Salat, between the two ends of the day and in some hours of the night. Verily, the good deeds efface the evil deeds (i.e., minor sins).” (11:114) The man asked the Messenger of Allah (ﷺ) whether this applies to him only. The Messenger of Allah (ﷺ) said, “It applies to all of my Ummah.”
[Al-Bukhari and Muslim].
This is the remedy for eradicating evil from the world: Do good deeds and defeat evil with them. The best way of making you virtuous is to establish salat, which will remind you of Allah over and over again: which will produce those good characteristics in you that shall help you fight successfully against the systematic and united front of evil that has been formed against the mission of the truth. This will also enable you to establish practically the system of virtue and reform.
Further explanation of this Ayah says :
Until now the Sahabas were being counseled patience and reliance on Allah to brave the extreme trying conditions in which they found themselves, and the persecutions they were being subjected to on account of their faith .Now they are being told to recite the Quran and establish the Salat as a practical device, for these are the two things which endow a believer with a strong character and a wonderful capacity by which he can not only brave successfully the most violent storms of evil and falsehood but can even subdue them.
But man can acquire this power from the recitation of the Quran and the prayer only when he does not remain content with the mere recital of the words but also understands well the Quranic teachings and absorbs them in his soul. And his prayer does not remain confined to physical movements but becomes the very function of his heart and the motive force for his morals and character.
The desired quality of the prayer is being mentioned by the Quran itself in the next sentence. As for its recitation, one should know that the recitation which does not reach the heart beyond the throat, cannot even give man enough power to remain steadfast to his faith, not to speak of enabling him to withstand the furies of unbelief. About such people, a Hadith says: “They will recite the Quran, but the Quran will not go beyond their throats; they will leave the faith just as the arrow leaves the bow.” (Bukhari, Muslim, Muatta).
As a matter of fact, the recitation which does not effect any change in a man’s way of thinking, and his morals and character, and he goes on doing what the Quran forbids, is not the recitation of a believer at all. About such a one the Prophet (peace be upon him) has said: “He who makes lawful what the Quran has declared unlawful, has not believed in the Quran at all.” (Tirmidhi). Such a recitation does not reform and strengthen a man’s self and spirit, but makes him even more stubborn against Allah and impudent before his own conscience, and destroys his character altogether.
For the case of the person who believes in the Quran as a divine Book, reads it and comes to know what his God has enjoined, and then goes on violating His injunctions, is of the culprit, who commits a crime not due to ignorance but after full knowledge of the law. The Prophet (peace be upon him) has elucidated this point in a brief sentence, thus: “The Quran is a testimony in your favor as well as against you,” (Muslim). That is, “If you follow the Quran rightly, it is a testimony in your favor. Whenever you are called to account for your deeds, here or in the Hereafter, you can produce the Quran as a testimony in your defense, saying that whatever you did was in accordance with this Book. If what you did was precisely according to it, no jurist in the world will be able to punish you, nor will God in the Hereafter hold you accountable for it. But if this Book has reached you, and you have read it and found out what your Lord demands from you, what He enjoins and what He forbids, and then you adopt an attitude opposed to it, then this Book will be a testimony against you. It will further strengthen the criminal case against you in the court of God. Then it will in no way be possible for you to escape the punishment, or receive a light punishment, by making the excuse of ignorance.