All perfect praise be to Allaah, The Lord of the Worlds. I testify that there is none worthy of worship except Allaah, and that Muhammad  is His slave and Messenger.
  is His slave and Messenger. 
We have already issued Fatwa 89176 clarifying what is mentioned in the Sunnah for treating migraine, like performing cupping and applying Henna. It is reported that there is no one who complained to the Prophet  about a headache except that he
  about a headache except that he  would advise him to perform cupping. It is also confirmed that the Prophet
  would advise him to perform cupping. It is also confirmed that the Prophet  performed cupping in his head while in the state of Ihraam because of having a headache.
  performed cupping in his head while in the state of Ihraam because of having a headache.
Therefore, if you wish to have more information about migraine, its types, its causes and the methods of treating it, then you should read the translated abridged version of the book of Ibn Al-Qayyim  entitled Zaad Al-Mi’aad, as he wrote a chapter about the guidance of the Prophet
  entitled Zaad Al-Mi’aad, as he wrote a chapter about the guidance of the Prophet  in treating migraine and headache.
  in treating migraine and headache. 
For more benefit on Ruqyah, please refer to Fataawa 88705, 82918 and 85500.