Sahih al-Bukhari 6711
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."
حَدَّثَنَا عَبْدُ اللَّهِ بْنُ مَسْلَمَةَ، حَدَّثَنَا سُفْيَانُ، عَنِ الزُّهْرِيِّ، عَنْ حُمَيْدٍ، عَنْ أَبِي هُرَيْرَةَ، قَالَ جَاءَ رَجُلٌ إِلَى النَّبِيِّ صلى الله عليه وسلم فَقَالَ هَلَكْتُ‏.‏ قَالَ ‏"‏ وَمَا شَأْنُكَ ‏"‏‏.‏ قَالَ وَقَعْتُ عَلَى امْرَأَتِي فِي رَمَضَانَ‏.‏ قَالَ ‏"‏ هَلْ تَجِدُ مَا تُعْتِقُ رَقَبَةً ‏"‏‏.‏ قَالَ لاَ‏.‏ قَالَ ‏"‏ فَهَلْ تَسْتَطِيعُ أَنْ تَصُومَ شَهْرَيْنِ مُتَتَابِعَيْنِ ‏"‏‏.‏ قَالَ لاَ‏.‏ قَالَ ‏"‏ فَهَلْ تَسْتَطِيعُ أَنْ تُطْعِمَ سِتِّينَ مِسْكِينًا ‏"‏‏.‏ قَالَ لاَ أَجِدُ‏.‏ فَأُتِيَ النَّبِيُّ صلى الله عليه وسلم بِعَرَقٍ فِيهِ تَمْرٌ فَقَالَ ‏"‏ خُذْ هَذَا فَتَصَدَّقْ بِهِ ‏"‏‏.‏ فَقَالَ أَعَلَى أَفْقَرَ مِنَّا مَا بَيْنَ لاَبَتَيْهَا أَفْقَرُ مِنَّا‏.‏ ثُمَّ قَالَ ‏"‏ خُذْهُ فَأَطْعِمْهُ أَهْلَكَ ‏"‏‏.‏