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.
bukhari:1815Abū Nuʿaym > Sayf > Mujāhid > ʿAbd al-Raḥman b. Abū Laylá > Kaʿb b. ʿUjrah

Messenger of Allah ﷺ stood beside me at Al-Hudaibiya and the lice were falling from my head in great number. He asked me, "Have your lice troubled you?" I replied in the affirmative. He ordered me to get my head shaved. Kaʿb added, "This Holy Verse:--'And if any of you is ill, or has ailment in his scalp (2.196), etc. was revealed regarding me. "The Prophet ﷺ then ordered me either to fast three days, or to feed six poor persons with one Faraq (three Sas) (of dates), or to slaughter a sheep, etc. (sacrifice) whatever was available.  

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

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


See similar narrations below:

Collected by Muslim, Aḥmad, Nasāʾī's Kubrá
muslim:1201dIbn Numayr from my father > Sayf > Mujāhid > ʿAbd al-Raḥman b. Abū Laylá > Kaʿb b. ʿUjrah

Do these vermins trouble you? I said: Yes. Thereupon he said: Then shave your head; and it was in connection with me that this verse was revealed:" Whoever among you is sick or has an ailment of the head, he (may effect) a compensation by fasting or alms or a sacrifice". He (the Holy Prophet, therefore) said to me: Observe fast for three days or give a quantity of alms enough to feed six needy persons or offer sacrifice (of an animal) that is available.  

مسلم:١٢٠١dوَحَدَّثَنَا ابْنُ نُمَيْرٍ حَدَّثَنَا أَبِي حَدَّثَنَا سَيْفٌ قَالَ سَمِعْتُ مُجَاهِدًا يَقُولُ حَدَّثَنِي عَبْدُ الرَّحْمَنِ بْنُ أَبِي لَيْلَى حَدَّثَنِي كَعْبُ بْنُ عُجْرَةَ ؓ

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

ahmad:18128Yaḥyá > Sayf > Mujāhid > Ibn Abū Laylá > Kaʿb b. ʿUjrah

[Machine] The Prophet ﷺ stopped at Al-Hudaybiyah, and as he did, lice were crawling on his head. He asked, "Do your lice harm you?" I replied, "Yes." He then said, "Shave your head." In the Quran, Allah said, "And whoever among you is ill or has an ailment of the head, then a ransom of fasting [three days], or charity or sacrifice [is required]" (2:196). The Messenger of Allah ﷺ commanded me to observe fasting for three days, or give charity, or make a sacrifice according to my capability.  

أحمد:١٨١٢٨حَدَّثَنَا يَحْيَى عَنْ سَيْفٍ قَالَ سَمِعْتُ مُجَاهِدًا يَقُولُ حَدَّثَنِي ابْنُ أَبِي لَيْلَى قَالَ حَدَّثَنِي كَعْبُ بْنُ عُجْرَةَ

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

nasai-kubra:4097Muḥammad b. ʿAbd al-Aʿlá > Muʿtamir > Sayf a man from Ahl Makkah > Mujāhid > ʿAbd al-Raḥman b. Abū Laylá > Kaʿb

Messenger of Allah ﷺ stood beside me at Al-Hudaibiya and the lice were falling from my head in great number. He asked me, "Have your lice troubled you?" I replied in the affirmative. He ordered me to get my head shaved. Kaʿb added, "This Holy Verse:--'And if any of you is ill, or has ailment in his scalp (2.196), etc. was revealed regarding me. "The Prophet ﷺ then ordered me either to fast three days, or to feed six poor persons with one Faraq (three Sas) (of dates), or to slaughter a sheep, etc. (sacrifice) whatever was available. (Using translation from Bukhārī 1815)   

الكبرى للنسائي:٤٠٩٧أَخْبَرَنَا مُحَمَّدُ بْنُ عَبْدِ الْأَعْلَى قَالَ حَدَّثَنَا مُعْتَمِرٌ قَالَ سَمِعْتُ سَيْفًا رَجُلًا مِنْ أَهْلِ مَكَّةَ يُحَدِّثُ عَنْ مُجَاهِدٍ عَنْ عَبْدِ الرَّحْمَنِ بْنِ أَبِي لَيْلَى أَنَّ كَعْبًا حَدَّثَهُ

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