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.
tabarani:16330[Chain 1] ʿAbdullāh b. Aḥmad b. Ḥanbal from my father [Chain 2] al-Ḥusayn b. Isḥāq al-Tustarī > ʿUthmān b. Abū Shaybah > Hushaym > Abū Bishr > Mujāhid > ʿAbd al-Raḥman b. Abū Laylá > Kaʿb b. ʿUjrah

[Machine] This verse was revealed while we were with the Messenger of Allah ﷺ in Hudaybiyyah, and we were in a state of ihram. The idolaters had also joined us. I had excess hair, so I started shaking it off my face. Then the Messenger of Allah ﷺ passed by and said, "Is your hair bothering you?" I replied, "Yes, O Messenger of Allah." He said, "Shave it off." Then this verse was revealed: "So, a payment in atonement is to either fast for three days, or feed six needy persons, or offer a sacrifice." He said, "Fast for three days, or feed six needy persons, or sacrifice a sheep."  

الطبراني:١٦٣٣٠حَدَّثَنَا عَبْدُ اللهِ بْنُ أَحْمَدَ بْنِ حَنْبَلٍ حَدَّثَنِي أَبِي ح وَحَدَّثَنَا الْحُسَيْنُ بْنُ إِسْحَاقَ التُّسْتَرِيُّ ثنا عُثْمَانُ بْنُ أَبِي شَيْبَةَ قَالَا ثنا هُشَيْمُ ثنا أَبُو بِشْرٍ عَنْ مُجَاهِدٍ عَنْ عَبْدِ الرَّحْمَنِ بْنِ أَبِي لَيْلَى عَنْ كَعْبِ بْنِ عُجْرَةَ قَالَ

نَزَلَتْ هَذِهِ الْآيَةُ فِي كُنَّا مَعَ رَسُولِ اللهِ ﷺ فِي الْحُدَيْبِيَةِ وَنَحْنُ مُحْرِمُونَ وَقَدْ حَضَرَنَا الْمُشْرِكُونَ وَكَانَتْ لِي وَفْرَةٌ فَجَعَلْتِ الْهَوَامُّ تَسَّاقَطُ عَلَى وَجْهِي فَمَرَّ رَسُولُ اللهِ ﷺ فَقَالَ «أَيُؤْذِيكَ هَوَامُّ رَأْسِكَ؟» قُلْتُ نَعَمْ يَا رَسُولَ اللهِ قَالَ «فَاحْلِقْ» قَالَ فَنَزَلَتْ هَذِهِ الْآيَةُ {فَفِدْيَةٌ مِنْ صِيَامٍ أَوْ صَدَقَةٍ أَوْ نُسُكٍ} قَالَ «فَالصِّيَامُ ثَلَاثَةُ أَيَّامٍ وَالصَّدَقَةُ سِتَّةُ مَسَاكِينٍ وَالنُّسُكُ شَاةٌ»  


See similar narrations below:

Collected by Bukhārī, Aḥmad
bukhari:4191Muḥammad b. Hishām Abū ʿAbdullāh > Hushaym > Abū Bishr > Mujāhid > ʿAbd al-Raḥman b. Abū Laylá > Kaʿb b. ʿUjrah

We were in the company of Messenger of Allah ﷺ at Al-Hudaibiya in the state of Ihram and the pagans did not allow us to proceed (to the Kaʿba). I had thick hair and lice started falling on my face. The Prophet ﷺ passed by me and said, "Are the lice of your head troubling you?" I replied, Yes." (The sub-narrator added, "Then the following Divine Verse was revealed:-- "And if anyone of you is ill or has an ailment in his scalp, (necessitating shaving) must pay a ransom (Fida) of either fasting or feeding the poor, Or offering a sacrifice." (2.196)  

البخاري:٤١٩١حَدَّثَنِي مُحَمَّدُ بْنُ هِشَامٍ أَبُو عَبْدِ اللَّهِ حَدَّثَنَا هُشَيْمٌ عَنْ أَبِي بِشْرٍ عَنْ مُجَاهِدٍ عَنْ عَبْدِ الرَّحْمَنِ بْنِ أَبِي لَيْلَى عَنْ كَعْبِ بْنِ عُجْرَةَ قَالَ

كُنَّا مَعَ رَسُولِ اللَّهِ ﷺ بِالْحُدَيْبِيَةِ وَنَحْنُ مُحْرِمُونَ وَقَدْ حَصَرَنَا الْمُشْرِكُونَ قَالَ وَكَانَتْ لِي وَفْرَةٌ فَجَعَلَتِ الْهَوَامُّ تَسَّاقَطُ عَلَى وَجْهِي فَمَرَّ بِي النَّبِيُّ ﷺ فَقَالَ أَيُؤْذِيكَ هَوَامُّ رَأْسِكَ قُلْتُ نَعَمْ قَالَ وَأُنْزِلَتْ هَذِهِ الآيَةُ {فَمَنْ كَانَ مِنْكُمْ مَرِيضًا أَوْ بِهِ أَذًى مِنْ رَأْسِهِ فَفِدْيَةٌ مِنْ صِيَامٍ أَوْ صَدَقَةٍ أَوْ نُسُكٍ}  

ahmad:18101Hushaym > Abū Bishr > Mujāhid > ʿAbd al-Raḥman b. Abū Laylá > Kaʿb b. ʿUjrah

We were in the company of Messenger of Allah ﷺ at Al-Hudaibiya in the state of Ihram and the pagans did not allow us to proceed (to the Kaʿba). I had thick hair and lice started falling on my face. The Prophet ﷺ passed by me and said, "Are the lice of your head troubling you?" I replied, Yes." (The sub-narrator added, "Then the following Divine Verse was revealed:-- "And if anyone of you is ill or has an ailment in his scalp, (necessitating shaving) must pay a ransom (Fida) of either fasting or feeding the poor, Or offering a sacrifice." (2.196) (Using translation from Bukhārī 4191)  

أحمد:١٨١٠١حَدَّثَنَا هُشَيْمٌ أَخْبَرَنَا أَبُو بِشْرٍ عَنْ مُجَاهِدٍ عَنْ عَبْدِ الرَّحْمَنِ بْنِ أَبِي لَيْلَى عَنْ كَعْبِ بْنِ عُجْرَةَ قَالَ

كُنَّا مَعَ رَسُولِ اللهِ ﷺ بِالْحُدَيْبِيَةِ وَنَحْنُ مُحْرِمُونَ وَقَدْ حَصَرَنَا الْمُشْرِكُونَ وَكَانَتْ لِي وَفْرَةٌ فَجَعَلَتِ الْهَوَامُّ تَسَّاقَطُ عَلَى وَجْهِي فَمَرَّ بِي النَّبِيُّ ﷺ فَقَالَ أَيُؤْذِيكَ هَوَامُّ رَأْسِكَ؟ قُلْتُ نَعَمْ فَأَمَرَهُ أَنْ يَحْلِقَ قَالَ وَنَزَلَتْ هَذِهِ الْآيَةُ {فَمَنْ كَانَ مِنْكُمْ مَرِيضًا أَوْ بِهِ أَذًى مِنْ رَأْسِهِ فَفِدْيَةٌ مِنْ صِيَامٍ أَوْ صَدَقَةٍ أَوْ نُسُكٍ} [البقرة 196]