from Ka'b bin 'Ujrah who said: "The Messenger of Allah ﷺ came to me while I was lighting a fire under a pot, and lice were falling on my face, or on my eye-brows. He said: 'Are your lice bothering you?'" [He said:] "I said: 'Yes.' He said: 'Then shave your head and offer a sacrifice, or fast three days, or feed six needy people.'" Ayyub said: "I do not know which of them he started with."
أَتَى عَلَىَّ رَسُولُ اللَّهِ ﷺ وَأَنَا أُوقِدُ تَحْتَ قِدْرٍ وَالْقَمْلُ تَتَنَاثَرُ عَلَى جَبْهَتِي أَوْ قَالَ حَاجِبِي فَقَالَ أَتُؤْذِيكَ هَوَامُّ رَأْسِكَ قَالَ قُلْتُ نَعَمْ قَالَ فَاحْلِقْ رَأْسَكَ وَانْسُكْ نَسِيكَةً أَوْ صُمْ ثَلاَثَةَ أَيَّامٍ أَوْ أَطَعِمْ سِتَّةَ مَسَاكِينَ قَالَ أَيُّوبُ لاَ أَدْرِي بِأَيَّتِهِنَّ بَدَأَ