It wasnarrated that Abu Hurairah said:
"A man came to the Prophet(ﷺ)and said: 'I am doomed.' He said: 'Why are you doomed?' Hesaid:'I had intercourse with my wife in Ramadan.' The Prophet(ﷺ) said:'Free a slave.' He said: 'I cannot.' He said:'Fast for twoconsecutive months.' He said: 'I cannot.' Hesaid: 'Feed sixty poorpersons.' He said: 'I cannot.' Hesaid: 'Sit down.' So he sat down,and while doing so a basketfulof dates was brought. The Prophet (ﷺ)said: 'Go and give this incharity.' He said: 'O Messenger of Allah,by the One Who sent youwith the truth, there is no household betweenits two lava fields(i.e., in Al-Madinah) that is more in need of itthan us.' He said:'Then go and feed your family.'" (FR)
English reference (FR): Vol. 1, Book 7, Hadith 1671 (FR)
Arabic reference (FR): Book 7, Hadith 1740 (FR)