Jabir told that God’s messenger prohibited invocations, and the family of ‘Amr b. Hazm came and said, “Messenger of God, we had an invocation proved efficacious which we applied for scorpion bite, but you have prohibited invocations.” They submitted it to him and he said, “I see no harm in it. If any of you is able to benefit his brother, let him do so.”
Narrated Umm Salama told that the Prophet saw in her house a girl with saf’a, i.e. yellowness,* in her face and said:
“Use an invocation for her, for she has been affected by the evil eye.”
(Bukhari and Muslim.)
* Saf’a is explained as a stroke from the devil, or the influence of the evil eye. It may be read suf’a which means blackness, or blackness tinged with red. Sufra normally means yellowness, but it can also mean blackness, and that may be the interpretation it should have here, in which case one should read suf'a.
In the pre-Islamic period we used to apply spells, and we asked God’s messenger how he looked upon that. He replied, “Submit your invocations to me. There is no harm in invocations so long as there is no polytheism in them.”