Kaab bin Ujra reported,

The Messenger of Allah ﷺ passed by him during the time of Hudaybiyyah and asked him, "Have the lice on your head troubled you?"He replied, "Yes."The Prophet ﷺ said to him, "Shave your head, then slaughter a sheep as a sacrifice, or fast three days, or feed six poor people with three saa of dates."

Muslim 2882

Sahih

و حدثنا يحيى بن يحيى أخبرنا خالد بن عبد الله عن خالد عن أبي قلابة عن عبد الرحمن بن أبي ليلى

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

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

مسلم 2882صحيح
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 2882
Muslim 2882