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." (Using translation from Tirmidhī 2974)
أَتَى عَلِيٌّ رَسُولَ اللَّهِ ﷺ زَمَنَ الْحُدَيْبِيَةِ وَأَنَا أُوقِدُ تَحْتَ بُرْمَةٍ لِي وَالْقَمْلُ يَتَنَاثَرُ عَلَى وَجْهِي فَقَالَ «أَتُؤْذِيكَ هَوَامُّ رَأْسِكَ؟ » قَالَ قُلْتُ نَعَمْ قَالَ «فَاحْلِقْ وَصُمْ ثَلَاثَةَ أَيَّامٍ أَوْ أَطْعِمْ سِتَّةَ مَسَاكِينَ أَوِ انْسُكْ شَاةً» قَالَ أَيُّوبُ فَلَا أَدْرِي بِأَيِّ ذَلِكَ بَدَأَ