Sahih al-Bukhari 4190
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 Ujra:
The Prophet (ﷺ) came to me at the time of Al-Hudaibiya Pledge while lice were falling on my face. He said, "Are the lice of your head troubling you?" I said, "Yes." He said, "Shave your head and fast for three days, or feed six poor persons, or slaughter a sheep as sacrifice." (The sub-narrator, Aiyub said, "I do not know with which of these three options he started.")
Full reference and source
Sahih al-Bukhari 4190 In-book : Book 64, Hadith 230 USC-MSA web (English) : Vol. 5, Book 59, Hadith 503 (deprecated)
View source on Sunnah.com (opens in a new tab)