Sahih al-Bukhari 1817
Ishaq related to us that Rauh told us. Shibl related to us. He narrated from (Abdullah) bin Abi Najih, and Ibn Abi Najih from Mujahid. He said: Abdur Rahman bin Abi Laila narrated from Hazrat Ka'b bin Ujrah (ra) (that he related to me): The Messenger of Allah (saw) saw him while lice were falling on his face. He said: “Are your lice troubling you?” I said: “Yes indeed.” He told him: “Have your head shaved.” At that time he was at Hudaibiyah, and it had not yet become clear to them that they would come out of the state of consecration (Ihram) right there, and they hoped that they would enter Mecca. Then Allah, the Exalted, sent down the command of expiation (Fidyah). The Messenger of Allah (saw) said to him: “Distribute one Faraq (of grain) among six people as food, or sacrifice a goat, or fast for three days.”
AI-translated by Islam-Today