Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bayhaqi:8043[Chain 1] ʿAlī b. Aḥmad b. ʿAbdān > Aḥmad b. ʿUbayd al-Ṣaffār > ʿUbayd b. Sharīk And Ibn Milḥān > Yaḥyá b. Bukayr > Layth [Chain 2] Abū ʿAbdullāh al-Ḥāfiẓ > Abū al-Walīd > Ibrāhīm b. ʿAlī > Yaḥyá b. Yaḥyá > al-Layth [Chain 3] Abū ʿAbdullāh > Abū al-Faḍl Muḥammad b. Ibrāhīm al-Hāshimī > Aḥmad b. Salamah > Qutaybah b. Saʿīd > al-Layth > Ibn Shihāb > Ḥumayd b. ʿAbd al-Raḥman b. ʿAwf > Abū Hurayrah

[Machine] On the authority of the Messenger of Allah ﷺ , it is narrated that a man had relations with his wife during Ramadan. He then sought advice from the Messenger of Allah ﷺ regarding this matter. The Prophet ﷺ asked him, "Do you have a slave whom you can free?" He replied, "No." The Prophet ﷺ then asked him, "Are you able to fast for two consecutive months?" He replied, "No." The Prophet ﷺ then said, "Feed sixty poor persons." Ibn Bukair added in his narration that they should be consecutive days.  

البيهقي:٨٠٤٣أَخْبَرَنَا عَلِيُّ بْنُ أَحْمَدَ بْنِ عَبْدَانَ أنبأ أَحْمَدُ بْنُ عُبَيْدٍ الصَّفَّارُ ثنا عُبَيْدُ بْنُ شَرِيكٍ وَابْنُ مِلْحَانَ قَالَا ثنا يَحْيَى بْنُ بُكَيْرٍ ثنا لَيْثٌ ح وَأَخْبَرَنَا أَبُو عَبْدِ اللهِ الْحَافِظُ أَخْبَرَنِي أَبُو الْوَلِيدِ ثنا إِبْرَاهِيمُ بْنُ عَلِيٍّ ثنا يَحْيَى بْنُ يَحْيَى أنبأ اللَّيْثُ ح وَأَخْبَرَنَا أَبُو عَبْدِ اللهِ أَخْبَرَنِي أَبُو الْفَضْلِ مُحَمَّدُ بْنُ إِبْرَاهِيمَ الْهَاشِمِيُّ ثنا أَحْمَدُ بْنُ سَلَمَةَ ثنا قُتَيْبَةُ بْنُ سَعِيدٍ ثنا اللَّيْثُ عَنِ ابْنِ شِهَابٍ عَنْ حُمَيْدِ بْنِ عَبْدِ الرَّحْمَنِ بْنِ عَوْفٍ عَنْ أَبِي هُرَيْرَةَ

عَنْ رَسُولِ اللهِ ﷺ أَنَّ رَجُلًا وَقَعَ بِامْرَأَتِهِ فِي رَمَضَانَ فَاسْتَفْتَى رَسُولَ اللهِ ﷺ عَنْ ذَلِكَ فَقَالَ هَلْ تَجِدُ رَقَبَةً؟ قَالَ لَا قَالَ فَهَلْ تَسْتَطِيعُ صِيَامَ شَهْرَيْنِ؟ قَالَ لَا قَالَ فَأَطْعِمْ سِتِّينَ مِسْكِينًا زَادَ ابْنُ بُكَيْرٍ فِي رِوَايَتِهِ مُتَتَابِعَيْنِ  

رَوَاهُ الْبُخَارِيُّ وَمُسْلِمٌ عَنْ قُتَيْبَةَ وَرَوَاهُ مُسْلِمٌ عَنْ يَحْيَى بْنِ يَحْيَى

See similar narrations below:

Collected by Bukhārī, Muslim, Nasāʾī's Kubrá
bukhari:6821Qutaybah > al-Layth > Ibn Shihāb > Ḥumayd b. ʿAbd al-Raḥman > Abū Hurayrah

A person had sexual relation with his wife in the month of Ramadan (while he was fasting), and he came to Messenger of Allah ﷺ 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."  

البخاري:٦٨٢١حَدَّثَنَا قُتَيْبَةُ حَدَّثَنَا اللَّيْثُ عَنِ ابْنِ شِهَابٍ عَنْ حُمَيْدِ بْنِ عَبْدِ الرَّحْمَنِ عَنْ أَبِي هُرَيْرَةَ ؓ

أَنَّ رَجُلاً وَقَعَ بِامْرَأَتِهِ فِي رَمَضَانَ فَاسْتَفْتَى رَسُولَ اللَّهِ ﷺ فَقَالَ هَلْ تَجِدُ رَقَبَةً قَالَ لاَ قَالَ هَلْ تَسْتَطِيعُ صِيَامَ شَهْرَيْنِ قَالَ لاَ قَالَ فَأَطْعِمْ سِتِّينَ مِسْكِينًا  

muslim:1111c[Chain 1] Yaḥyá b. Yaḥyá And Muḥammad b. Rumḥ > al-Layth [Chain 2] Qutaybah > Layth > Ibn Shihāb > Ḥumayd b. ʿAbd al-Raḥman b. ʿAwf > Abū Hurayrah

Can you find a slave (to grant him freedom)? He said: No. He (the Prophet again) said: Can you afford to observe fasts for two (consecutive) months? He said: No. He (the Holy Prophet) said: Then feed sixty poor men.  

مسلم:١١١١cحَدَّثَنَا يَحْيَى بْنُ يَحْيَى وَمُحَمَّدُ بْنُ رُمْحٍ قَالاَ أَخْبَرَنَا اللَّيْثُ ح وَحَدَّثَنَا قُتَيْبَةُ حَدَّثَنَا لَيْثٌ عَنِ ابْنِ شِهَابٍ عَنْ حُمَيْدِ بْنِ عَبْدِ الرَّحْمَنِ بْنِ عَوْفٍ عَنْ أَبِي هُرَيْرَةَ ؓ

أَنَّ رَجُلاً وَقَعَ بِامْرَأَتِهِ فِي رَمَضَانَ فَاسْتَفْتَى رَسُولَ اللَّهِ ﷺ عَنْ ذَلِكَ فَقَالَ هَلْ تَجِدُ رَقَبَةً قَالَ لاَ قَالَ وَهَلْ تَسْتَطِيعُ صِيَامَ شَهْرَيْنِ قَالَ لاَ قَالَ فَأَطْعِمْ سِتِّينَ مِسْكِينًا  

nasai-kubra:3103Qutaybah b. Saʿīd > al-Layth > Ibn Shihāb > Ḥumayd b. ʿAbd al-Raḥman b. ʿAwf > Abū Hurayrah

[Machine] A man had intercourse with his wife during Ramadan, so he asked the Messenger of Allah ﷺ about it. The Prophet ﷺ asked, "Do you have a slave to set free?" He replied, "No." The Prophet ﷺ asked, "Are you able to fast for two consecutive months?" He replied, "No." The Prophet ﷺ said, "Then feed sixty poor people." Abu 'Abdul-Rahman (narrator) said, "This is the correct opinion, and the hadith of Ashhab from Layth is a mistake. It should be 'Ashhab narrated the hadith from Malik.'  

الكبرى للنسائي:٣١٠٣أَخْبَرَنَا قُتَيْبَةُ بْنُ سَعِيدٍ قَالَ حَدَّثَنَا اللَّيْثُ عَنِ ابْنِ شِهَابٍ عَنْ حُمَيْدِ بْنِ عَبْدِ الرَّحْمَنِ بْنِ عَوْفٍ عَنْ أَبِي هُرَيْرَةَ

أَنَّ رَجُلًا وَقَعَ بِامْرَأَتِهِ فِي رَمَضَانَ فَاسْتَفْتَى رَسُولَ اللهِ ﷺ عَنْ ذَلِكَ فَقَالَ «هَلْ تَجِدُ رَقَبَةً؟» قَالَ لَا قَالَ «هَلْ تَسْتَطِيعُ صِيَامَ شَهْرَيْنِ؟» قَالَ لَا قَالَ «فَأَطْعِمْ سِتِّينَ مِسْكِينًا» قَالَ أَبُو عَبْدِ الرَّحْمَنِ هَذَا الصَّوَابُ وَحَدِيثُ أَشْهَبَ عَنِ اللَّيْثِ خَطَأٌ يَنْبَغِي أَنْ يَكُونَ أَشْهَبُ حَمَلَ حَدِيثَ اللَّيْثِ عَلَى حَدِيثِ مَالِكٍ