Sahih al-Bukhari, Volume 8, Book 82, Hadith 811 (USC-MSA)

Narrated Abu Huraira: A person had sexual relation with his wife in the month of Ramadan (while he was fasting), and he came to Allah's Messenger seeking his verdict concerning that action. The Prophet said (to him), "Can you afford to manumit a slave?" The man said, "No." The Prophet said, "Can you fast for two successive months?" He said, "No." The Prophet said, "Then feed sixty poor persons."

حَدَّثَنَا قُتَيْبَةُ، حَدَّثَنَا اللَّيْثُ، عَنِ ابْنِ شِهَابٍ، عَنْ حُمَيْدِ بْنِ عَبْدِ الرَّحْمَنِ، عَنْ أَبِي هُرَيْرَةَ ـ رضى الله عنه ـ أَنَّ رَجُلاً، وَقَعَ بِامْرَأَتِهِ فِي رَمَضَانَ، فَاسْتَفْتَى رَسُولَ اللَّهِ صلى الله عليه وسلم فَقَالَ ‏"‏ هَلْ تَجِدُ رَقَبَةً ‏"‏‏.‏ قَالَ لاَ‏.‏ قَالَ ‏"‏ هَلْ تَسْتَطِيعُ صِيَامَ شَهْرَيْنِ ‏"‏‏.‏ قَالَ لاَ‏.‏ قَالَ ‏"‏ فَأَطْعِمْ سِتِّينَ مِسْكِينًا ‏"‏‏.‏

sunnah.com

Narrated 'Aisha: A man came to the Prophet in the mosque and said, "I am burnt (ruined)!" The Prophet asked him, "With what (what have you done)?" He said, "I have had sexual relation with my wife in the month of Ramadan (while fasting)." The Prophet said to him, "Give in charity." He said, "I have nothing." The man sat down, and in the meantime there came a person driving a donkey carrying food to the Prophet..... (The sub-narrator, 'Abdur Rahman added: I do not know what kind of food it was). On that the Prophet said, "Where is the burnt person?" The man said, "Here I am." The Prophet said to him, "Take this (food) and give it in charity (to someone)." The man said, "To a poorer person than l? My family has nothing to eat." Then the Prophet said to him, "Then eat it yourselves."

وَقَالَ اللَّيْثُ عَنْ عَمْرِو بْنِ الْحَارِثِ، عَنْ عَبْدِ الرَّحْمَنِ بْنِ الْقَاسِمِ، عَنْ مُحَمَّدِ بْنِ جَعْفَرِ بْنِ الزُّبَيْرِ، عَنْ عَبَّادِ بْنِ عَبْدِ اللَّهِ بْنِ الزُّبَيْرِ، عَنْ عَائِشَةَ، أَتَى رَجُلٌ النَّبِيَّ صلى الله عليه وسلم فِي الْمَسْجِدِ قَالَ احْتَرَقْتُ‏.‏ قَالَ ‏"‏ مِمَّ ذَاكَ ‏"‏‏.‏ قَالَ وَقَعْتُ بِامْرَأَتِي فِي رَمَضَانَ‏.‏ قَالَ لَهُ ‏"‏ تَصَدَّقْ ‏"‏‏.‏ قَالَ مَا عِنْدِي شَىْءٌ‏.‏ فَجَلَسَ وَأَتَاهُ إِنْسَانٌ يَسُوقُ حِمَارًا وَمَعَهُ طَعَامٌ ـ قَالَ عَبْدُ الرَّحْمَنِ مَا أَدْرِي مَا هُوَ ـ إِلَى النَّبِيِّ صلى الله عليه وسلم فَقَالَ ‏"‏ أَيْنَ الْمُحْتَرِقُ ‏"‏‏.‏ فَقَالَ هَا أَنَا ذَا‏.‏ قَالَ ‏"‏ خُذْ هَذَا فَتَصَدَّقْ بِهِ ‏"‏‏.‏ قَالَ عَلَى أَحْوَجَ مِنِّي مَا لأَهْلِي طَعَامٌ قَالَ ‏"‏ فَكُلُوهُ ‏"‏‏.‏ قَالَ أَبُو عَبْدِ اللَّهِ الْحَدِيثُ الأَوَّلُ أَبْيَنُ قَوْلُهُ ‏"‏ أَطْعِمْ أَهْلَكَ ‏"‏‏.‏

sunnah.com