Sahih Bukhari | Volume 7 | Hadith Number 569

Narrated by Ka'b bin 'Ujara
The Prophet passed by me while I was kindling a fire under a (cooking) pot. He said, "Do the lice of your head trouble you?" I said, "Yes." So he called a barber to shave my head and ordered me to make expiation for that."