It was narrated that Abu Hurairah said:
“A man came to the Prophet (ﷺ) and said: ‘I am doomed.’ He said: ‘Why are you doomed?’ He said: ‘I had intercourse with my wife in Ramadan.’ The Prophet (ﷺ) said: ‘Free a slave.’ He said: ‘I cannot.’ He said: ‘Fast for two consecutive months.’ He said: ‘I cannot.’ He said: ‘Feed sixty poor persons.’ He said: ‘I cannot.’ He said: ‘Sit down.’ So he sat down, and while doing so a basketful of dates was brought. The Prophet (ﷺ) said: ‘Go and give this in charity.’ He said: ‘O Messenger of Allah, by the One Who sent you with the truth, there is no household between its two lava fields (i.e., in Al-Madinah) that is more in need of it than us.’ He said: ‘Then go and feed your family.’”