Islamic Interpretation of Dreams (Ibn-i Sirin):

In a dream, headache represents sins.

If one suffers from a headache in a dream, he should repent for his sins, refrain from what he is doing, distribute money in charity, observe voluntary religious fast, seek a spiritual retreat, or strive to do good deeds. Headache in a dream means suffering from 276 unhappiness or misery in one’s life. Headache also represents one’s employer or supervisor.

If one who is suffering from a migraine headache in wakefulness sees his temples transformed into iron in a dream, it means that his illness will be cured.