Hadithcore
Sahih Muslim, 1111 e
sahih

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.

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

References2 variants
In-Book Reference
Book 13, Hadith 105
USC-MSA web (English) reference
Book 6, Hadith 2461 (deprecated numbering scheme)