Al-Ilmam bi-Ahadith al-Ahkam 597
وَعَن عبد الرَّحْمَن بن أبي لَيْلَى، عَن كَعْب بن عجْرَة أَن رَسُول الله ﷺ رَآهُ، وَأَنه يسْقط الْقمل عَلَى وَجهه، فَقَالَ: " أَيُؤْذِيك هوامك؟ " قَالَ نعم: فَأمره أَن يحلق، وَهُوَ بِالْحُدَيْبِية، وَلم يتَبَيَّن لَهُم أَنهم يحلونَ بهَا، وهم عَلَى طمع أَن يدخلُوا مَكَّة، فَأنْزل الله الْفِدْيَة، فَأمره رَسُول الله ﷺ أَن يطعم فرقا بَين سِتَّة، أَو يُهدي شَاة، أَو يَصُوم ثَلَاثَة أَيَّام ". لفظ رِوَايَة لمجاهد (عَنهُ) عِنْد البُخَارِيّ. وَفِي رِوَايَة: " أَو أنسك مَا تيَسّر ". وَفِي حَدِيث عبد الله بن مغفّل، عَن كَعْب: " أَو أطْعم سِتَّة مَسَاكِين ل كل مِسْكين نصف صَاع ".
And from ʿAbd ar-Rahman ibn Abi Layla, from Kaʿb ibn ʿUjrah, that the Messenger of Allah ﷺ saw him with lice falling on his face, and said: "Are your lice troubling you?" He said: "Yes." So he ordered him to shave, while he was at al-Hudaybiyah, and it had not become clear to them that they would leave ihram there, as they were hoping to enter Makkah. Then Allah revealed the fidyah, and the Messenger of Allah ﷺ ordered him to feed a faraq [of food] among six [people], or offer a sheep, or fast three days. The wording is a narration of Mujahid (from him) with al-Bukhari. And in a narration: "Or sacrifice what is easy." And in the hadith of ʿAbdullah ibn Maʿqil, from Kaʿb: "Or feed six poor people, half a saʿ for each poor person."