حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، وَعَلِيُّ بْنُ مُحَمَّدٍ، قَالاَ حَدَّثَنَا وَكِيعٌ، عَنْ سُفْيَانَ، عَنْ حَبِيبِ بْنِ أَبِي ثَابِتٍ، عَنِ ابْنِ الْمُطَوِّسِ، عَنْ أَبِيهِ الْمُطَوِّسِ، عَنْ أَبِي هُرَيْرَةَ، قَالَ: قَالَ رَسُولُ اللَّهِ ـ صلى الله عليه وسلم ـ ‏"‏ مَنْ أَفْطَرَ يَوْمًا مِنْ رَمَضَانَ مِنْ غَيْرِ رُخْصَةٍ لَمْ يُجْزِهِ صِيَامُ الدَّهْرِ ‏"‏ ‏.‏
Translation
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.’” Another chain from Abu Hurairah with additional words: "Then he (the Prophet SAW) said: "And fast a day in its place."