from Ka'b bin 'Ujrah who said: "The Messenger of Allah (ﷺ) came to me while I was lighting a fire under a pot, and lice were falling on my face, or on my eye-brows. He said: 'Are your lice bothering you?'" "I said: 'Yes.' He said: 'Then shave your head and offer a sacrifice, or fast three days, or feed six needy people.'" Ayyub said: "I do not know which of them he started with."
Jami` at-Tirmidhi Book 47, Hadith 26