[Machine] The Prophet ﷺ used to have headaches while he was fasting. Muhammad ibn Ja'far said in his narration from Sa'id from Ayyub from Abd Allah ibn Shaqiq from Ibn Abbas, and Al-Khaffaf said so as well on another occasion.
أَنَّ النَّبِيَّ ﷺ كَانَ يُصِيبُ مِنَ الرُّءُوسِ وَهُوَ صَائِمٌ وقَالَ مُحَمَّدُ بْنُ جَعْفَرٍ يَعْنِي فِي حَدِيثِهِ عَنْ سَعِيدٍ عَنْ أَيُّوبَ عَنْ عَبْدِ اللهِ بْنِ شَقِيقٍ عَنِ ابْنِ عَبَّاسٍ وَكَذَا قَالَ الْخَفَّافُ مَرَّةً أُخْرَى