Abdullah bin Maqil reported,

I sat with Kaab رضي الله عنه while he was in the masjid and asked him about this verse, "then a fidya of fasting or charity or sacrifice" [Baqarah 2:196].Kaab رضي الله عنه replied, "It was revealed concerning me. I was suffering from an ailment of the head, so I was carried to the Messenger of Allah ﷺ with the lice falling over my face.He said, 'I did not think your hardship had reached what I now see. Can you find a sheep?'I said, 'No.'Then this verse was revealed, "then a fidya of fasting or charity or sacrifice" [Baqarah 2:196]."He explained, "This means fasting three days, or feeding six poor people, half a saa of food for each poor person."He added, "It was revealed concerning me in particular, but it applies to all of you."

Muslim 2883

Sahih

و حدثنا محمد بن المثنى وابن بشار قال ابن المثنى حدثنا محمد بن جعفر حدثنا شعبة عن عبد الرحمن بن الأصبهاني

عن عبد الله بن معقل قال

قعدت إلى كعب رضي الله عنه وهو في المسجد فسألته عن هذه الآية {ففدية من صيام أو صدقة أو نسك} فقال كعب رضي الله عنه نزلت في كان بي أذى من رأسي فحملت إلى رسول الله ﷺ والقمل يتناثر على وجهي فقال ما كنت أرى أن الجهد بلغ منك ما أرى أتجد شاة فقلت لا فنزلت هذه الآية {ففدية من صيام أو صدقة أو نسك} قال صوم ثلاثة أيام أو إطعام ستة مساكين نصف صاع طعاما لكل مسكين قال فنزلت في خاصة وهي لكم عامة

مسلم 2883صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Hajj
Chapter
Permissibility of shaving the head for one in Muharram if he has an ailment, the obligation of fidya for shaving it, and an explanation of its amount
Numbering
Darussalam 2883
Muslim 2883