Salama bin Akwa reported,

When the verse "And upon those who are able to fast, with difficulty, a ransom of feeding a poor person" [Baqarah 2:184] was revealed, anyone among us who wished to break his fast and pay the ransom would do so, until the verse that came after it was revealed and abrogated it.

Abu Dawud 2315

Sahih

حدثنا قتيبة بن سعيد حدثنا بكر يعني ابن مضر عن عمرو بن الحارث عن بكير عن يزيد مولى سلمة

عن سلمة بن الأكوع قال

لما نزلت هذه الآية {وعلى الذين يطيقونه فدية طعام مسكين} كان من أراد منا أن يفطر ويفتدي فعل حتى نزلت هذه الآية التي بعدها فنسختها

أبو داود 2315صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Abu Dawud
Book
Fasting
Chapter
Abrogation of His saying, "And upon those who are able to fast, a fidya"
Numbering
Darussalam 2315
Abu Dawud 2315