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

It was narrated that Kab bin Ujrah said: "I entered Ihram, then I had a severe infestation of head lice. News of that reached Prophet, and he came to me when I was cooking something in a pot for my companions, he touched my head with his finger and said: 'Go and shave it, and give charity to six poor persions.'". Translation Not Available

Book Ref: Sunan An Nisai Book 24 Hadith 2852
Web Ref:  Sunan An Nisai Vol 3 Book 24 Hadith 2855