كتاب الصيام
13  
The Book of Fasting
(14)
Chapter: The strict prohibition of intercourse during the day in Ramadan for one who is fasting; And the obligation of offering major expiation and the definition thereof; And that it is obligatory for both the one who can afford it and the one who cannot afford it, and it remains an obligation for the one who cannot afford it until he has the means
(14)
باب تَغْلِيظِ تَحْرِيمِ الْجِمَاعِ فِي نَهَارِ رَمَضَانَ عَلَى الصَّائِمِ وَوُجُوبِ الْكَفَّارَةِ الْكُبْرَى فِيهِ وبيانها وأنها تجب على الموسر والمعسر وتثبت في ذمة المعسر حتى يستطيع
Sahih Muslim 1111 e

Humaid b. 'Abd al-Rahman reported that Abu Huraira had narrated to him that the Messenger of Allah (ﷺ) commanded the person (who) broke the fast in Ramadan to free a slave or observe fasts for two (consecutive) months or feed sixty poor persons.

حَدَّثَنِي مُحَمَّدُ بْنُ رَافِعٍ، حَدَّثَنَا عَبْدُ الرَّزَّاقِ، أَخْبَرَنَا ابْنُ جُرَيْجٍ، حَدَّثَنِي ابْنُ شِهَابٍ، عَنْ حُمَيْدِ بْنِ عَبْدِ الرَّحْمَنِ، أَنَّ أَبَا هُرَيْرَةَ، حَدَّثَهُ أَنَّ النَّبِيَّ صلى الله عليه وسلم أَمَرَ رَجُلاً أَفْطَرَ فِي رَمَضَانَ أَنْ يُعْتِقَ رَقَبَةً أَوْ يَصُومَ شَهْرَيْنِ أَوْ يُطْعِمَ سِتِّينَ مِسْكِينًا ‏.‏
Reference : Sahih Muslim 1111e
In-book reference : Book 13, Hadith 105
USC-MSA web (English) reference : Book 6, Hadith 2461
  (deprecated numbering scheme)