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:7898Abū ʿAmr Muḥammad b. ʿAbdullāh al-Adīb > Abū Bakr al-Ismāʿīlī > Muḥammad b. Muḥammad b. Sulaymān > Wahbb. Baqiyyah Waʾabū Bakr b. Abū Shaybah

[Machine] This verse, meaning "a ransom of feeding a poor person" [Surah Al-Baqarah 184], is the verse that follows it, "So whoever sights [the new moon of] the month, let him fast it" [Surah Al-Baqarah 185].  

البيهقي:٧٨٩٨أَخْبَرَنَا أَبُو عَمْرٍو مُحَمَّدُ بْنُ عَبْدِ اللهِ الْأَدِيبُ أنبأ أَبُو بَكْرٍ الْإِسْمَاعِيلِيُّ أَخْبَرَنِي مُحَمَّدُ بْنُ مُحَمَّدِ بْنِ سُلَيْمَانَ ثنا وَهْبُ بْنُ بَقِيَّةَ وَأَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ قَالَا ثنا عَبْدُ الْوَهَّابِ الثَّقَفِيُّ عَنْ عُبَيْدِ اللهِ بْنِ عُمَرَ عَنْ نَافِعٍ عَنِ ابْنِ عُمَرَ قَالَ

نَسَخَتْ هَذِهِ الْآيَةَ يَعْنِي {فِدْيَةٌ طَعَامُ مِسْكِينٍ} [البقرة 184] هَذِهِ الْآيَةُ الَّتِي بَعْدَهَا {فَمَنْ شَهِدَ مِنْكُمُ الشَّهْرَ فَلْيَصُمْهُ} [البقرة 185]  

أَخْرَجَهُ الْبُخَارِيُّ فِي الصَّحِيحِ

See similar narrations below:

Collected by Ṭabarānī
tabarani:12875Isḥāq b. Ibrāhīm > ʿAbd al-Razzāq > Maʿmar > Ayyūb > Muḥammad b. Sīrīn > Ibn ʿAbbās

[Machine] "In this verse, it is stated, 'And those who are capable of fasting but choose not to fast shall pay a ransom, which is to provide food for a poor person.' Then, another verse was revealed, 'So whoever among you witnesses the month, let them fast.'"  

الطبراني:١٢٨٧٥حَدَّثَنَا إِسْحَاقُ بْنُ إِبْرَاهِيمَ عَنْ عَبْدِ الرَّزَّاقِ عَنْ مَعْمَرٍ عَنْ أَيُّوبَ عَنْ مُحَمَّدِ بْنِ سِيرِينَ أَنَّ ابْنَ عَبَّاسٍ قَالَ

فِي هَذِهِ الْآيَةِ {وَعَلَى الَّذِينَ يُطِيقُونَهُ فِدْيَةٌ طَعَامُ مِسْكِينَ} «ثُمَّ نَسَخَتْهَا الْآيَةُ الْأُخْرَى» {فَمَنْ شَهِدَ مِنْكُمُ الشَّهْرَ فَلْيَصُمْهُ}