[Machine] I experienced a headache while I was with the Messenger of Allah ﷺ in the year of Hudaybiyah, to the point where I became worried about my eyesight. Then Allah revealed: "So whoever among you is ill or has an ailment of the head [making shaving necessary must offer] a ransom of fasting [three days] or charity or sacrifice." So the Messenger of Allah ﷺ called me and said, "Shave your head and fast for three days, or feed six poor people with raisins or sacrifice a sheep." So I shaved my head and remained silent.
أَصَابَنِي هَوَامٌّ فِي رَأْسِي وَأَنَا مَعَ رَسُولِ اللهِ ﷺ عَامَ الْحُدَيْبِيَةِ حَتَّى تَخَوَّفْتُ عَلَى بَصَرِي فَأَنْزَلَ اللهُ ﷻ {فَمَنْ كَانَ مِنْكُمْ مَرِيضًا أَوْ بِهِ أَذًى مِنْ رَأْسِهِ فَفِدْيَةٌ مِنْ صِيَامٍ أَوْ صَدَقَةٍ أَوْ نُسُكٍ} فَدَعَانِي رَسُولُ اللهِ ﷺ فَقَالَ «احْلِقْ رَأْسَكَ وَصُمْ ثَلَاثَةَ أَيَّامٍ أَوْ أَطْعِمْ سِتَّةَ مَسَاكِينٍ فَرَقًا مِنْ زَبِيبٍ أَوِ انْسُكْ شَاةً» فَحَلَقْتُ رَأْسِي ثُمَّ نَسَكْتُ