Kaab bin Ujra reported,

The Messenger of Allah ﷺ came upon me while I was kindling a fire beneath a cooking pot, and lice were falling onto my face, or he said onto my eyebrows. He asked, "Are the vermin of your head troubling you?"I replied, "Yes."He said, "Then shave it, and fast three days, or feed six poor people, or offer a sacrifice."Ayub said, I do not know with which of them he began.

Ahmad 18107

Sahih

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

عن كعب بن عجرة قال

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

أحمد 18107صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Kaab bin Ujra
Numbering
Darussalam 18107
Ahmad 18107