حَدَّثَنَا وَهْبُ بْنُ بَقِيَّةَ، عَنْ خَالِدٍ الطَّحَّانِ، عَنْ خَالِدٍ الْحَذَّاءِ، عَنْ أَبِي قِلاَبَةَ، عَنْ عَبْدِ الرَّحْمَنِ بْنِ أَبِي لَيْلَى، عَنْ كَعْبِ بْنِ عُجْرَةَ، أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم مَرَّ بِهِ زَمَنَ الْحُدَيْبِيَةِ فَقَالَ ‏"‏ قَدْ آذَاكَ هَوَامُّ رَأْسِكَ ‏"‏ ‏.‏ قَالَ نَعَمْ ‏.‏ فَقَالَ النَّبِيُّ صلى الله عليه وسلم ‏"‏احْلِقْ ثُمَّ اذْبَحْ شَاةً نُسُكًا أَوْ صُمْ ثَلاَثَةَ أَيَّامٍ أَوْ أَطْعِمْ ثَلاَثَةَ آصُعٍ مِنْ تَمْرٍ عَلَى سِتَّةِ مَسَاكِينَ ‏"
Translation

Ka'ab bin 'Ujrah reported that the Messenger of Allah (ﷺ) passed by him at the time of Al-Hudaibiyyah and said, "Are the crawling insects of your head troubling you?" He said, "Yes." The Prophet (ﷺ) said, "Shave your head, then sacrifice a sheep as an offering, or fast three days, or feed three sa'as of dates to six poor people."