Narrated Abu Huraira:
A man came to Allah's Messenger () and said, "O Allah's Messenger ()! I am ruined!" The Prophet () said, "Waihaka (May Allah be merciful to you) !" The man said, "I have done sexual intercourse with my wife while fasting in Ramadan." The Prophet () said, "Manumit a slave." The man said, " I cannot afford that. " The Prophet () said; "Then fast for two successive months." The man said, " I have no power to do so." The Prophet () said, "Then feed sixty poor persons." The man said, "I have nothing (to feed sixty persons). Later a basket full of dates were brought to the Prophet () and he said (to the man), "Take it and give it in charity." The man said, "O Allah's Messenger ()! Shall I give it to people other than my family? By Him in Whose Hand my life is, there is nobody poorer than me in the whole city of Medina." The Prophet () smiled till his premolar teeth became visible, and said, "Take it." Az-Zuhri said (that the Prophet () said). "Wailaka."