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:16333Muḥammad b. ʿAmr b. Khālid al-Ḥarrānī from my father > ʿUbaydullāh b. ʿAmr > ʿAbd al-Karīm > Mujāhid > ʿAbd al-Raḥman b. Abū Laylá > Kaʿb b. ʿUjrah

[Machine] I went to the Messenger of Allah ﷺ during Umrah, and he saw lice on my head. He asked, "O Ka'b, do your lice harm you?" I replied, "Yes." He then said, "Shave your head, sacrifice a sheep, fast for three days, or feed six poor people."  

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

لِي رَسُولُ اللهِ ﷺ فِي عُمْرَةٍ وَرَأَى الْقَمْلَ فِي رَأْسِي «يَا كَعْبُ أَيُؤْذِيكَ هَوَامُّكَ؟» قُلْتُ نَعَمْ قَالَ «فَاحْلِقْ وَاذْبَحْ شَاةً أَوْ صُمْ ثَلَاثَةَ أَيَّامٍ أَوْ أَطْعِمْ سِتَّةَ مَسَاكِينٍ»  


See similar narrations below:

Collected by Mālik, Ibn Ḥibbān
malik:20-250Mālik > Ḥumayd b. Qays > Mujāhid Abū al-Ḥajjāj > Ibn Abū Laylá > Kaʿb b. ʿUjrah

Yahya related to me from Malik from Humayd bin Qays from Mujahid Abu'l Hajjaj from Ibn Abi Layla from Kab ibn Ujra that the Messenger of Allah ﷺ said to him, "Perhaps your pests are troubling you?" He replied that indeed they were, and the Messenger of Allah ﷺ said, "Shave your head and fast three days or feed six poor men or sacrifice a sheep."  

مالك:٢٠-٢٥٠حَدَّثَنِي عَنْ مَالِكٍ عَنْ حُمَيْدِ بْنِ قَيْسٍ عَنْ مُجَاهِدٍ أَبِي الْحَجَّاجِ عَنِ ابْنِ أَبِي لَيْلَى عَنْ كَعْبِ بْنِ عُجْرَةَ

أَنَّ رَسُولَ اللَّهِ ﷺ قَالَ لَهُ لَعَلَّكَ آذَاكَ هَوَامُّكَ فَقُلْتُ نَعَمْ يَا رَسُولَ اللَّهِ فَقَالَ رَسُولُ اللَّهِ ﷺ احْلِقْ رَأْسَكَ وَصُمْ ثَلاَثَةَ أَيَّامٍ أَوْ أَطْعِمْ سِتَّةَ مَسَاكِينَ أَوِ انْسُكْ بِشَاةٍ  

ibnhibban:3978Muḥammad b. ʿUmar b. Yūsuf Binasā > Naṣr b. ʿAlī al-Jahḍamī > Yazīd b. Zurayʿ > Ayyūb > Mujāhid > ʿAbd al-Raḥman b. Abū Laylá > Kaʿb b. ʿUjrah

[Machine] The Prophet ﷺ passed by me while I was sitting under a pot and lice were crawling from my head. He ﷺ asked, "Are the lice bothering you?" I replied, "Yes." He ﷺ said, "Shave your head, fast for three days, or feed six poor people."  

ابن حبّان:٣٩٧٨أَخْبَرَنَا مُحَمَّدُ بْنُ عُمَرَ بْنِ يُوسُفَ بِنَسَا قَالَ حَدَّثَنَا نَصْرُ بْنُ عَلِيٍّ الْجَهْضَمِيُّ قَالَ حَدَّثَنَا يَزِيدُ بْنُ زُرَيْعٍ عَنْ أَيُّوبَ عَنْ مُجَاهِدٍ عَنْ عَبْدِ الرَّحْمَنِ بْنِ أَبِي لَيْلَى عَنْ كَعْبِ بْنِ عُجْرَةَ قَالَ

مَرَّ بِي رَسُولُ اللَّهِ ﷺ وَأَنَا أُوقِدُ تَحْتَ قِدْرٍ لِي وَالْقَمْلُ يَتَهَافَتُ مِنْ رَأْسِي فَقَالَ ﷺ «أَتُؤْذِيكَ هَوَامُّ رَأْسِكَ؟ » قُلْتُ نَعَمْ قَالَ «انْسُكْ نَسِيكَةً أَوْ صُمْ ثَلَاثَةَ أَيَّامٍ أَوِ اطْعِمْ سِتَّةَ مَسَاكِينَ»