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."
حَدَّثَنَا قُتَيْبَةُ، حَدَّثَنَا اللَّيْثُ، عَنِ ابْنِ شِهَابٍ، عَنْ حُمَيْدِ بْنِ عَبْدِ الرَّحْمَنِ، عَنْ أَبِي هُرَيْرَةَ ـ رضى الله عنه ـ أَنَّ رَجُلاً، وَقَعَ بِامْرَأَتِهِ فِي رَمَضَانَ، فَاسْتَفْتَى رَسُولَ اللَّهِ صلى الله عليه وسلم فَقَالَ " هَلْ تَجِدُ رَقَبَةً ". قَالَ لاَ. قَالَ " هَلْ تَسْتَطِيعُ صِيَامَ شَهْرَيْنِ ". قَالَ لاَ. قَالَ " فَأَطْعِمْ سِتِّينَ مِسْكِينًا ".
Sahih al-Bukhari, 6822
Sahih al-Bukhari, Vol. 8, Book of Laws of Punishments, Hadith 811
Sahih al-Bukhari, Book of Laws of Punishments, Hadith 811