Narrated Musa bin Talhah:
that Abu Al-Yasar said: A woman came to me selling dates. I said to her: 'There are better dates than these in the house.' So she entered the house with me. I had an urge for her so I began kissing her. I went to Abu Bakr and mentioned that to him, so he said: 'Cover what you have done, repent, do not inform any one, and never do it again.' So I went to 'Umar and mentioned that to him. He said: 'Cover what you have done, repent, do not inform any one, and never do it again.' Then I went to the Prophet (ﷺ) and mentioned it to him. He said: 'Is this how you take care of the wife of someone who is away fighting in Allah's cause? Such that he had wished he had not accepted Islam until that very time, and he thought that he must be one of the people of the Fire. He said: The Messenger of Allah (ﷺ) bowed his head for a long time, until Allah revealed to him: And perform the Salat, at the two ends of the day and in some hours of the night. Verily, the good deeds remove the evil deeds. That is a reminder for the mindful (11:114). Abu Al-Yasar said: So I went to him and the Messenger of Allah (ﷺ) recited it for me. A companion of his said: O Messenger of Allah! Is this specific, or is it for the people in general? He said: Rather it is for the people in general.