Sayyiduna Ka'b bin 'Ujrah (may Allah be pleased with him) narrates: The Noble Prophet (peace and blessings be upon him) passed by him while he was kindling a fire under his cooking pot. The Noble Prophet (peace and blessings be upon him) asked: "Are your lice troubling you?" Then the Prophet instructed him to shave his head and to either fast for three days, give one faraq (of food) to be shared among six needy people, or offer a sacrifice. The narrator Sufyan (may Allah have mercy on him) states: (Regarding this incident) this verse was revealed: "But if any of you is ill or has an ailment in his scalp, (he should offer) a ransom."
Hadith Referenceسنن الدارقطني / كتاب الحج / 2781
Hadith Takhrij«أخرجه البخاري فى ((صحيحه)) برقم: 1814، 1815، 1816، 1817، 1818، 4159، 4190، 4191، 4517، 5665، 5703، 6708، ومسلم فى ((صحيحه)) برقم: 1201،ومالك فى ((الموطأ)) برقم: 884 ، وابن خزيمة فى ((صحيحه)) برقم: 2676،وابن حبان فى ((صحيحه)) برقم: 3978، والنسائي فى ((المجتبیٰ)) برقم: 2854 ، وأبو داود فى ((سننه)) برقم: 1856، 1857، 1858، 1860،والترمذي فى ((جامعه)) برقم: 953، 2973، وابن ماجه فى ((سننه)) برقم: 3079، 3080، والدارقطني فى ((سننه)) برقم: 2780، 2781، 2782، 2783، 2784، وأحمد فى ((مسنده)) برقم: 18388»