Sunan Abi Dawud — The Rites of Hajj (Kitab Al-Manasik Wa'l-Hajj) — Hadith No: 1859
Translation
A man from the Ansar said on the authority of Ka'b ibn Ujrah that he was feeling pain in his head (due to lice); so he shaved his head. The Prophet (ﷺ) ordered him to sacrifice a cow as offering