Sahih al-Bukhari 5703
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
حَدَّثَنَا مُسَدَّدٌ، حَدَّثَنَا حَمَّادٌ، عَنْ أَيُّوبَ، قَالَ سَمِعْتُ مُجَاهِدًا، عَنِ ابْنِ أَبِي لَيْلَى، عَنْ كَعْبٍ، هُوَ ابْنُ عُجْرَةَ قَالَ أَتَى عَلَىَّ النَّبِيُّ صلى الله عليه وسلم زَمَنَ الْحُدَيْبِيَةِ، وَأَنَا أُوقِدُ تَحْتَ بُرْمَةٍ، وَالْقَمْلُ يَتَنَاثَرُ عَنْ رَأْسِي فَقَالَ أَيُؤْذِيكَ هَوَامُّكَ ". قُلْتُ نَعَمْ. قَالَ " فَاحْلِقْ وَصُمْ ثَلاَثَةَ أَيَّامٍ، أَوْ أَطْعِمْ سِتَّةً، أَوِ انْسُكْ نَسِيكَةً ". قَالَ أَيُّوبُ لاَ أَدْرِي بِأَيَّتِهِنَّ بَدَأَ."
Narrated Ka`b bin Ujrah:
The Prophet (ﷺ) came to me during the period of Al-Hudaibiya, while I was lighting fire underneath a cooking pot and lice were falling down my head. He said, "Do your lice hurt your?" I said, "Yes." He said, "Shave your head and fast for three days or feed six poor persons or slaughter a sheep as a sacrifice:"
Full reference and source
Sahih al-Bukhari 5703 In-book : Book 76, Hadith 23 USC-MSA web (English) : Vol. 7, Book 71, Hadith 604 (deprecated)
View source on Sunnah.com (opens in a new tab)