Al-Ilmam bi-Ahadith al-Ahkam 541
وَعَن أبي هُرَيْرَة قَالَ: جَاءَ رجل إِلَى النَّبِي ﷺ فَقَالَ: هلكتُ (يَا رَسُول الله) قَالَ: " وَمَا أهْلكك؟ " قَالَ: وقعتُ عَلَى امْرَأَتي فِي رَمَضَان! فَقَالَ: " هَل تَجِد مَا تعْتق رَقَبَة؟ " قَالَ: لَا. قَالَ: " فَهَل تَسْتَطِيع أَن تَصُوم شَهْرَيْن مُتَتَابعين؟ " قَالَ: لَا. قَالَ: ثمَّ جلس، " فَأتي النَّبِي ﷺ بعرق فِيهِ تمر، فَقَالَ: تصدق بِهَذَا " فَقَالَ أَعلَى أفقر منا يَا رَسُول الله؟ فَمَا بَين لابتيها أهل بَيت أحْوج إِلَيْهِ منا. " فَضَحِك النَّبِي ﷺ حَتَّى بَدَت أنيابه، ثمَّ قَالَ: اذْهَبْ فأطعمه أهلك ". أَخْرجُوهُ أَجْمَعُونَ، وَاللَّفْظ لمُسلم. وَفِي رِوَايَة (لَهُ) : " أَن رَسُول الله ﷺ أَمر رجلا أفطر فِي رَمَضَان أَن يعْتق رَقَبَة، أَو يَصُوم شَهْرَيْن، أَو يطعم سِتِّينَ مِسْكينا ". وَقد ورد الْأَمر بِالْقضَاءِ فِي رِوَايَة إِبْرَاهِيم بن سعد عَن اللَّيْث، وَتَابعه أَبُو أويس بن الزُّهْرِيّ، وهما عِنْد الْبَيْهَقِيّ.
And from Abu Hurayrah, who said: A man came to the Prophet ﷺ and said: "I am ruined (O Messenger of Allah)." He said: "What has ruined you?" He said: "I had intercourse with my wife in Ramadan." He said: "Can you find [the means] to free a slave?" He said: "No." He said: "Then can you fast two consecutive months?" He said: "No." He said: Then he sat down. "Then a large basket containing dates was brought to the Prophet ﷺ, and he said: 'Give this in charity.'" He said: "To someone poorer than us, O Messenger of Allah? There is no household between its two lava fields more in need of it than us." "The Prophet ﷺ laughed until his canine teeth showed, then said: 'Go and feed it to your family.'" They all recorded it, and the wording is Muslim's. And in a narration (of his): "The Messenger of Allah ﷺ ordered a man who broke his fast in Ramadan to free a slave, or fast two months, or feed sixty poor people." And the order to make [the fast] up has come in the narration of Ibrahim ibn Saʿd from al-Layth, and Abu Uways followed him [in narrating it] from az-Zuhri; both are with al-Bayhaqi.