Sahl b Ahmad narrated from ‘Ali b. Nu'man from Ibn Muskan from ‘Abd al-Rahman al-Qusayr from Abu Ja’far al-Baqir, peace be upon him, who said: ‘Whoever suffers from a complaint of the head, let him put his hand on it and recite seven times: “I take refuge in Allah, in Whose trust is that which is on the land and in the sea, in the heavens and the earth, and He is the All-hearing, the All-knowing.” He will be relieved of the pain.’
Hariz Abu Ayyub al-Jurjani narrated from Muhammad b. Abu Nasr from Tha’laba from ‘Amr b. Yazid al-Sayqal from Ja’far b. Muhammad b. ‘Ali b. al-Husayn b. ‘Ali b. Abu Talib, peace be upon him, that he [al-Sayqal] said: I complained to him of a pain in my head, and of my suffering from it night and day.
He [Ja’far b. Muhammad] said: ‘Place your hand on it and say seven times: “'In the Name of Allah, with Whose Name nothing on the earth or in the heavens causes injury. He is the All-hearing, the All-knowing. O Allah. I seek refuge in You from that which Muhammad, blessings on him and his family, sought refuge for himself.” [The pain] will subside, by the authority of Allah, the Exalted.’
‘Ali b. ‘Urwa al-Ahwazi, a narrator of the teachings of the Ahl al-Bayt, peace be upon them, narrated from al-Daylami from Dawud al-Raqqi from Musa b. Ja’far, peace be upon him, that he [Dawud] said: I said to him; “O son of the Messenger of Allah, I suffer constantly from a complaint in my head, and sometimes it keeps me awake at nights and distracts me from performing the night prayer.” He replied: “O Dawud, when you experience any of that [pain], pass your hand over it and say: ‘I take refuge in Allah, and seek protection for my self from all that afflicts me, in the Name of Allah, the Mighty, and His Perfect Words, which neither the righteous nor the ungodly can disregard. I seek protection for myself with Allah, the Mighty and Sublime, and with the Messenger of Allah and his family, the pure, the chosen ones. O Allah, by their claim over You, protect me from this suffering of mine.’ It will not afflict you again.”
Abu Salt al-Harawi narrated from Al-Ridha’, peace be upon him, from his father from al-Baqir, peace be upon him, who said; ‘Teach our Shi’a to recite the following for a pain in the head: “O Taha, O Dharr, O Tamana, O Tannat”. They are Sublime Names and have an authority given by Allah, the Exalted and Sublime. Allah will turn that [pain] away from them.’
‘Abd Allah b. Bistam narrated from Ishaq b. Ibrahim from Abu al-Hasan al-‘Askari, peace be upon him, that he [Ishaq] said: I was with him [al-‘Askari] one day when one of our brothers complained to him, saying: “O son of the Messenger of Allah, my family suffers much from this accursed pain.” He asked: “And what is it?” The man replied: “Pains in the head.” He said: “Take a cup of water and recite over it:
Have not the unbelievers then beheld that the heavens and the earth were a mass all sewn up, and then We unstitched them and of water fashioned every living thing? Will they not believe? (21:30).
Then drink it and pain will not afflict them, Allah, the Exalted, willing.”
Tamim b. Ahmad al-Sayrafi narrated from Muhammad b. Khalid al-Barqi from ‘Ali b. al-Nu'man from Dawud b. Farqad and Mu’alla b. Khunays, who both said: Abu ‘Abd Allah, peace be upon him, said: “Combing the hair on the cheeks strengthens the teeth (al-adras); combing the beard dispels infectious diseases (al-waba'); combing loose locks of hair dispels anxieties in the breast (al-sadr); combing the eyebrows is a safeguard against leprosy (al-judham), and combing the head stops phlegm.”