Kaab bin Ujra reported,

The Prophet ﷺ passed by him at Hudaybiyah, before entering Mecca, while he was in the state of ihram. He was kindling a fire beneath a cooking pot, and lice were falling onto his face.The Prophet ﷺ asked, "Are these vermin troubling you?"He replied, "Yes."The Prophet ﷺ said, "Then shave your head and feed six poor people with a faraq, which is three saa, or fast three days, or offer a sacrifice."Ibn Abu Najeeh said, "Or slaughter a sheep."

Muslim 2881

Sahih

و حدثنا محمد بن أبي عمر حدثنا سفيان عن ابن أبي نجيح وأيوب وحميد وعبد الكريم عن مجاهد عن ابن أبي ليلى

عن كعب بن عجرة رضي الله عنه

أن النبي ﷺ مر به وهو بالحديبية قبل أن يدخل مكة وهو محرم وهو يوقد تحت قدر والقمل يتهافت على وجهه فقال أيؤذيك هوامك هذه قال نعم قال فاحلق رأسك وأطعم فرقا بين ستة مساكين والفرق ثلاثة آصع أو صم ثلاثة أيام أو انسك نسيكة قال ابن أبي نجيح أو اذبح شاة

مسلم 2881صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Hajj
Chapter
Permissibility of shaving the head for one in Muharram if he has an ailment, the obligation of fidya for shaving it, and an explanation of its amount
Numbering
Darussalam 2881
Muslim 2881