Sahih al-Bukhari, Book 84, Hadith 4 (In-Book) ⓘ
Narrated Abu Huraira: A man came to the Prophets and said, "I am ruined!" The Prophet said, "What is the matter with you?" He said, "I have done a sexual relation with my wife (while fasting) in Ramadan" The Prophet said to him, "Can you afford to manumit a slave?" He said, "No." The Prophet said, "Can you fast for two successive months?" He said, "No." The Prophet said, "Can you feed sixty poor persons?" He said, "I have nothing." Later on an Irq (big basket) containing dates was given to the Prophet, and the Prophet said (to him), "Take this basket and give it in charity." The man said, "To poorer people than we? Indeed, there is nobody between its (i.e., Medina's) two mountains who is poorer than we." The Prophet then said, "Take it and feed your family with it."
حَدَّثَنَا عَبْدُ اللَّهِ بْنُ مَسْلَمَةَ، حَدَّثَنَا سُفْيَانُ، عَنِ الزُّهْرِيِّ، عَنْ حُمَيْدٍ، عَنْ أَبِي هُرَيْرَةَ، قَالَ جَاءَ رَجُلٌ إِلَى النَّبِيِّ صلى الله عليه وسلم فَقَالَ هَلَكْتُ. قَالَ " وَمَا شَأْنُكَ ". قَالَ وَقَعْتُ عَلَى امْرَأَتِي فِي رَمَضَانَ. قَالَ " هَلْ تَجِدُ مَا تُعْتِقُ رَقَبَةً ". قَالَ لاَ. قَالَ " فَهَلْ تَسْتَطِيعُ أَنْ تَصُومَ شَهْرَيْنِ مُتَتَابِعَيْنِ ". قَالَ لاَ. قَالَ " فَهَلْ تَسْتَطِيعُ أَنْ تُطْعِمَ سِتِّينَ مِسْكِينًا ". قَالَ لاَ أَجِدُ. فَأُتِيَ النَّبِيُّ صلى الله عليه وسلم بِعَرَقٍ فِيهِ تَمْرٌ فَقَالَ " خُذْ هَذَا فَتَصَدَّقْ بِهِ ". فَقَالَ أَعَلَى أَفْقَرَ مِنَّا مَا بَيْنَ لاَبَتَيْهَا أَفْقَرُ مِنَّا. ثُمَّ قَالَ " خُذْهُ فَأَطْعِمْهُ أَهْلَكَ ".
also referenced under: Hadith 6711 (DarusSalam) & Volume 8, Book 79, Hadith 702 (USC-MSA)