[Machine] Ali came to the Messenger of Allah ﷺ during the time of Hudaybiyah and found me sitting under a cooking pot while lice were crawling on my face. He asked, "Does the itchiness bother you?" I replied, "Yes." He said, "Shave your head, observe fasting for three days, feed six poor people, or sacrifice a sheep as expiation for your negligence." This narration is from the hadith of Ibn Ulayyah.
أَتَى عَلِيَّ رَسُولُ اللهِ ﷺ زَمَنَ الْحُدَيْبِيَةِ وَأَنَا أُوقدُ تَحْتَ قِدْرٍ لِي وَالْقَمْلُ يُنْثَرُ عَلَى وَجْهِي فَقَالَ «أَيُؤْذِيكَ هَوَامُّ رَأْسِكَ؟» قُلْتُ نَعَمْ قَالَ «فَاحْلِقْ وَصُمْ ثَلَاثَةَ أَيَّامٍ أَوْ أَطْعِمْ سِتَّةَ مَسَاكِينٍ أَوِ انْسُكْ نَسِيكَةً» وَاللَّفْظُ لِحَدِيثِ ابْنِ عُلَيَّةَ