This hadeeth comes under the following chapter: IT IS PERMISSIBLE TO SHAVE THE HEAD IN THE STATE OF IHRAM IF THERE IS A TROUBLE, AND EXPIATION BECOMES OBLIGATORY FOR SHAVING
Ka'b b. Ujra (Allaah be pleased with him) reported that he went out with the Prophet of Allaah (sallAllaahu alayhi wa sallam) in the state of Ihram, and his (Ka'b's) head and beard were infested with lice. This was conveyed to the Prophet of Allaah (sallAllaahu alayhi wa sallam). He sent for him (Ka'b) and called a barber (who) shaved his head. He (the Prophet) said. Is there any sacrificial animal with you? He (Kalb) said: I cannot afford it. He then commanded him to observe fasts for three days or feed six needy persons, one sa' for every two needy persons. And Allaah the Exalted and Majestic revealed this (verse) particular with regard to him:" So whosoever among you is sick and has an ailment of the head.." ; then (its application) became general for the Muslims.