They followed what the Shay�tin (devils) gave out (falsely of the magic) in the lifetime of Sulaim�n (Solomon). Sulaim�n did not disbelieve, but the Shay�tin (devils) disbelieved, teaching men magic and such things that came down at Babylon to the two angels, H�r�t and M�r�t, but neither of these two (angels) taught anyone (such things) till they had said, "We are only for trial, so disbelieve not (by learning this magic from us)." And from these (angels) people learn that by which they cause separation between man and his wife, but they could not thus harm anyone except by All�h's Leave. And they learn that which harms them and profits them not. And indeed they knew that the buyers of it (magic) would have no share in the Hereafter. And how bad indeed was that for which they sold their ownselves, if they but knew. (Al-Baqarah 2:102)
Learning and Promoting magic is a big sin:
Learning and promoting magic is a big sin which must be avoided. This reality has been narrated in the following hadith:
It is reported on the authority of Abu HurairaradiAllahuanhuthat the Messenger of Allah salallahoaliehiwasalam observed: Avoid the seven noxious things. It was said (by the hearers): What are they, Messenger of Allah? He (the Holy Prophet) replied: Associating anything with Allah, magic, killing of one whom God has declared inviolate without a just cause, consuming the property of an orphan, and consuming of usury, turning back when the army advances, and slandering chaste women who are believers, but unwary.( Muslim : Book 1 , Hadith 161)
Another hadith highlighting evil of magic is as follows:
Narrated Abu Huraira: Allah's Apostle said, "Avoid the Mubiqat, i.e., shirk and witchcraft."(Sahih Bukhari : Book 7 , Volume 71 , Hadith 659)
Astrology is also a branch of magic:
Many Muslims are interested in Astrology and are much concerned about their stars and horoscope. They must bear in mind that Astrology is a branch of magic as mentioned in the following hadith:
Narrated Abdullah ibn Abbas:The Prophet (peace be upon him) said: If anyone acquires any knowledge of astrology, he acquires a branch of magic of which he gets more as long as he continues to do so.( Abu Dawud : Book 29 , Hadith 3896)
Magic during the life time of Moses aliehissalam:
When we minutely read Quran we come to know that magic did not emerge during the time period of Prophet Solomon aliehissalam .It was in its fulls swing during the time period of Moses aliehissalam .Therefore when Prophet Moses aliehissalam came to Pharaoh with shinning hand and the miraculous stick. Pharaoh took it as magic and attempted to compete them but could not compete them.The whole incident has been narrated in Holy Quran in manner:
We sent M�sa (Moses) with Our Signs to Fir'aun (Pharaoh) and his chiefs, but they wrongfully rejected them. So see how was the end of the Mufsid�n (mischief-makers, corrupts, etc.). And M�sa (Moses) said: "O Fir'aun (Pharaoh)! I am a Messenger from the Lord of the 'Alam�n (mankind, jinns and all that exists). "Proper it is for me that I say nothing concerning All�h but the truth. Indeed I have come unto you from your Lord with a clear proof. So let the Children of Israel depart along with me." [Fir'aun (Pharaoh)] said: "If you have come with a sign, show it forth, - if you are one of those who tell the truth." Then [M�sa (Moses)] threw his stick and behold! it was a serpent, manifest! And he drew out his hand, and behold! it was white (with radiance) for the beholders. The chiefs of the people of Fir'aun (Pharaoh) said: "This is indeed a well-versed sorcerer; "He wants to get you out of your land, so what do you advise?" They said: "Put him and his brother off (for a time), and send callers (men) to the cities to collect (and) - "That they bring up to you all well-versed sorcerers." And so the sorcerers came to Fir'aun (Pharaoh). They said: "Indeed there will be a (good) reward for us if we are the victors." He said: "Yes, and moreover you will (in that case) be of the nearest (to me)." They said: "O M�sa (Moses)! Either you throw (first), or shall we have the (first) throw?" He [M�sa (Moses)] said: "Throw you (first)." So when they threw, they bewitched the eyes of the people, and struck terror into them, and they displayed a great magic.And We inspired M�sa (Moses) (saying): "Throw your stick," and behold! It swallowed up straight away all the falsehoods which they showed. Thus truth was confirmed, and all that they did was made of no effect. So they were defeated there and then, and were returned disgraced. (Al-A'raf 7:103-119)
This defeat changed the minds of magicians and they reverted to Islam as mentioned in the following verses of Holy Quran:
And the sorcerers fell down prostrate. They said: "We believe in the Lord of the 'Alam�n (mankind, jinns and all that exists) "The Lord of M�sa (Moses) and H�r�n (Aaron)." Fir'aun (Pharaoh) said: "You have believed in him [M�sa (Moses)] before I give you permission. Surely, this is a plot which you have plotted in the city to drive out its people, but you shall come to know. "Surely, I will cut off your hands and your feet on opposite sides, then I will crucify you all." They said: "Verily, we are returning to our Lord. "And you take vengeance on us only because we believed in the Ay�t (proofs, evidences, lessons, signs, etc.) of our Lord when they reached us! Our Lord! pour out on us patience, and cause us to die as Muslims." (Al-A'raf 7:120-126)
Magician Samaree-a notorious character :
Holy Quran also narrates the incident of famous magician Samaree who made a magical calf in the absence of Moses aliehissalamwhen he had gone to visit his Lord and thus misled people of Bani Israel .The incident of Samaree has been narrated in the Holy Quran ALLAH swt says:
And what made you hasten from your people, O M�sa (Moses)?" He said: "They are close on my footsteps, and I hastened to You, O my Lord, that You might be pleased." All�h) said: "Verily! We have tried your people in your absence, and As-Samiri has led them astray." Then M�sa (Moses) returned to his people in a state of anger and sorrow. He said: "O my people! Did not your Lord promise you a fair promise? Did then the promise seem to you long in coming? Or did you desire that wrath should descend from your Lord on you, so you broke your promise to me (i.e disbelieving in All�h and worshipping the calf)?" They said: "We broke not the promise to you, of our own will, but we were made to carry the weight of the ornaments of the [Fir'aun's (Pharaoh)] people, then we cast them (into the fire), and that was what As-Samiri suggested." Then he took out (of the fire) for them a statue of a calf which seemed to low. They said: "This is your il�h (god), and the il�h (god) of M�sa (Moses), but [M�sa (Moses)] has forgotten (his god).'" Did they not see that it could not return them a word (for answer), and that it had no power either to harm them or to do them good? And H�r�n (Aaron) indeed had said to them beforehand: "O my people! You are being tried in this, and verily, your Lord is (All�h) the Most Beneficent, so follow me and obey my order." They said: "We will not stop worshipping it (i.e. the calf), until M�sa (Moses) returns to us." [M�sa (Moses)] said: "O H�r�n (Aaron)! What stopped you when you saw them going astray; "That you followed me not (according to my advice to you)? Have you then disobeyed my order?" He [H�r�n (Aaron)] said: "O son of my mother! Seize (me) not by my beard, nor by my head! Verily, I feared lest you should say: 'You have caused a division among the Children of Israel, and you have not respected my word!' "M�sa (Moses)] said: "And what is the matter with you. O Samiri? (i.e. why did you do so?)" (Samiri) said: "I saw what they saw not, so I took a handful (of dust) from the hoof print of the messenger [Jibrael's (Gabriel) horse] and threw it [into the fire in which were put the ornaments of the Fir'aun's (Pharaoh) people, or into the calf]. Thus my inner-self suggested to me." M�sa (Moses) said: "Then go away! And verily, your (punishment) in this life will be that you will say: "Touch me not (i.e.you will live alone exiled away from mankind); and verily (for a future torment), you have a promise that will not fail. And look at your il�h (god), to which you have been devoted. We will certainly burn it, and scatter its particles in the sea." ( Ta-Ha 20:83-98)
Incident of Old magician whose young student became a source inspiration for believers of his time:
Allah swt has narrated the incident of a tribe in Surah Al Buruj which was killed due to its faith in Allah swt.Allahswt says:
Cursed were the people of the ditch (the story of the Boy and the King). Fire supplied (abundantly) with fuel, When they sat by it (fire), And they witnessed what they were doing against the believers (i.e. burning them). They had nothing against them, except that they believed in All�h, the All-Mighty, Worthy of all Praise! ( Al-Burooj 85:4-8)
The whole incident has been narrated in the following hadith:
Suhaib reported that Allah's Messenger (may peace be upon him) thus said: There lived a king before you and he had a (court) magician. As he (the magician) grew old, he said to the king: I have grown old, send some young boy to me so that I should teach him magic. He (the king) sent to him a young man so that he should train him (in magic). And on his way (to the magician) he (the young man) found a monk sitting there. He (the young man) listened to his (the monk's) talk and was impressed by it. It became his habit that on his way to the magician he met the monk and set there and he came to the magician (late). He (the magician) beat him because of delay. He made a complaint of that to the monk and he said to him: When you feel afraid of the magician, say: Members of my family had detained me. And when you feel afraid of your family you should say: The magician had detained me. It so happened that there came a huge beast (of prey) and it blocked the way of the people, and he (the young boy) said: I will come to know today whether the magician is superior or the monk is superior. He picked up a stone and said: O Allah, if the affair of the monk is dearer to Thee than the affair of the magician, cause death to this animal so that the people should be able to move about freely. He threw that stone towards it and killed it and the people began to move about (on the path freely). He (the young man) then came to that monk and Informed him and the monk said: Sonny, today you are superior to me. Your affair has come to a stage where I find that you would be soon put to a trial, and in case you are put to a trial don't give my clue. That young man began to treat the blind and those suffering from leprosy and he in fact began to cure people from (all kinds) of illness. When a companion of the king who had gone blind heard about him, he came to him with numerous gifts and said: If you cure me all these things collected together here would be yours. Be said: I myself do not cure anyone. It is Allah Who cures and if you affirm faith in Allah, I shall also supplicate Allah to cure you.
He affirmed his faith in Allah and Allah cured him and he came to the king and sat by his side as he used to sit before. The king said to him: Who restored your eyesight? He said: My Lord. Thereupon he said: It means that your Lord is One besides me. He said: My Lord and your Lord is Allah, so he (the king) took hold of him and tormented him till he gave a clue of that boy. The young man was thus summoned and the king said to him: O boy, it has been conveyed to me that you have become so much proficient in your magic that you cure the blind and those suffering from leprosy and you do such and such things. Thereupon he said: I do not cure anyone; it is Allah Who cures, and he (the king) took hold of him and began to torment him. So he gave a clue of the monk. The monk was thus summoned and it was said to him: You should turn back from your religion. He, however, refused to do so. He (ordered) for a saw to be brought (and when it was done) he (the king) placed it in the middle of his head and tore it into parts till a part fell down. Then the courtier of the king was brought and it was said to him: Turn back from your religion. Arid he refused to do so, and the saw was placed in the midst of his head and it was torn till a part fell down. Then that young boy was brought and it was said to him: Turn back from your religion. He refused to do so and he was handed over to a group of his courtiers. And he 'said to them: Take him to such and such mountain; make him climb up that mountain and when you reach its top (ask him to renounce his faith) but if he refuses to do so, then throw him (down the mountain). So they took him and made him climb up the mountain and he said: O Allah, save me from them (in any way) Thou likest and the mountain began to quake and they all fell down and that person came walking to the king. The king said to him: What has happened to your companions? He said: Allah has saved me from them. He again handed him to some of his courtiers and said: Take him and carry him in a small boat and when you reach the middle of the ocean (ask him to renounce) his religion, but if he does not renounce his religion throw him (into the water).
So they took him and he said: O Allah, save me from them and what they want to do. It was quite soon that the boat turned over and they were drowned and he came walking to the king, and the king said to him: What has happened to your companions? He said: Allah has saved me from them, and he said to the king: You cannot kill me until you do what I ask you to do. And he said: What is that? He said: You should gather people in a plain and hang me by the trunk (of a tree). Then take hold of an arrow from the quiver and say: In the name of Allah, the Lord of the worlds; then shoot an arrow and if you do that then you would be able to kill me. So he (the king) called the people in an open plain and tied him (the boy) to the trunk of a tree, then he took hold of an arrow from his quiver and then placed the arrow in the bow and then said: In the name of Allah, the Lord of the young boy; he then shot an arrow and it bit his temple. He (the boy) placed his hands upon the temple where the arrow had bit him and he died and the people said: We affirm our faith in the Lord of this young man, we affirm our faith in the Lord of this young man, we affirm our faith in the Lord of this young man. The courtiers came to the king and it was said to him: Do you see that Allah has actually done what you aimed at averting. They (the people) have affirmed their faith in the Lord. He (the king) commanded ditches to be dug at important points in the path. When these ditches were dug, and the fire was lit in them it was said (to the people): He who would not turn back from his (boy's) religion would be thrown in the fire or it would be said to them to jump in that. (The people courted death but did not renounce religion) till a woman came with her child and she felt hesitant in jumping into the fire and the child said to her: 0 mother, endure (this ordeal) for it is the Truth.(Muslim : Book 42 , Hadith 7148)
Propaganda of Polytheists against Rasoolsalallahoaliehiwasalam that he was a magician:
Polytheists of Arabia used to do propaganda against Rasool salallaho aliehi wasalam that he was a magician.Once a person who was expert in cure of magic visited Rasool salallaho aliehi wasalam with the intention to observe him.He realized that he had wrong perception about Rasool salallaho aliehi wasalam so he embraced Islam.This has been discussed in the following hadith:
Ibn 'Abbas reported: Dimad came to Mecca and he belonged to the tribe of AzdShanu'a, and he used to protect the person who was under the influence of charm. He heard the foolish people of Mecca say that Muhammad (may peace be upon him) was under the spell. Upon this he said: If 1 were to come across this man, Allah might cure him at my hand. He met him and said: Muhammad, I can protect (one) who is under the influence of charm, and Allah cures one whom He so desires at my hand. Do you desire (this)? Upon this the Messenger of Allah (may peace be upon him) said: Praise is due to Allah, we praise Him, ask His help; and he whom Allah guides aright there is none to lead him astray, and he who is led astray there is none to guide him, and I bear testimony to the fact that there is no god but Allah, He is One, having no partner with Him, and that Muhammad is His Servant and Messenger. Now after this he (Dimad) said: Repeat these words of yours before me, and the messenger of Allah (may peace be upon him) repeated these to him thrice; and he said I have heard the words of soothsayers and the words of magicians, and the words of poets, but I have never heard such words as yours, and they reach the depth (of the ocean of eloquence) ; bring forth your hand so that I should take oath of fealty to you on Islam. So he took an oath of allegiance to him. The Messenger of Allah (may peace be upon him) said: It (this allegiance of yours) is on behalf of your people too. He said: It is on behalf of my people too. The Messenger of Allah (may peace be upon him) sent an expedition and the flying column passed by his people. The leader of the flying column said to the detachment: Did you find anything from these people? One of the people said: I found a utensil for water. Upon this he (the commander) said: Return it, for he is one of the people of Dimad. (Muslim : Book 4 ,Hadith 1888)
Plot of Magicians against Rasool salallaho aliehi wasalam:
The satanic magicians belonging to Jews also tried to attack Rasool salallaho aliehi wasalam and plotted a plot against him which has been narrated in the books of hadiths.
A detailed narration which discusses the magic and its influence on Rasool salallaho aliehi wasalam is as follows:
Narrated 'Aisha radiAllahuanha:A man called Labid bin al-A'sam from the tribe of BaniZaraiq worked magic on Allah's Apostle till Allah's Apostle started imagining that he had done a thing that he had not really done. One day or one night he was with us, he invoked Allah and invoked for a long period, and then said, "O 'Aisha! Do you know that Allah has instructed me concerning the matter I have asked him about? Two men came to me and one of them sat near my head and the other near my feet. One of them said to his companion, "What is the disease of this man?" The other replied, "He is under the effect of magic.' The first one asked, 'Who has worked the magic on him?' The other replied, "Labid bin Al-A'sam.' The first one asked, 'What material did he use?' The other replied, 'A comb and the hairs stuck to it and the skin of pollen of a male date palm.' The first one asked, 'Where is that?' The other replied, '(That is) in the well of Dharwan;' " So Allah's Apostle along with some of his companions went there and came back saying, "O 'Aisha, the color of its water is like the infusion of Henna leaves. The tops of the date-palm trees near it are like the heads of the devils." I asked. "O Allah's Apostle? Why did you not show it (to the people)?" He said, "Since Allah cured me, I disliked to let evil spread among the people." Then he ordered that the well be filled up with earth.(SahihBukhari : Book 7 , Volume 71 , Hadith 658)
All the above mentioned hadiths clearly indicate that magic is very destructive in its nature and it affected even the prophets of Allah swt . Satanic forces have been using this tool against the pious people since long .
Cure of Magic:
It is great blessing of Allah swt that Allah swt has guided human beings to counter the destruction of magic. The treatment of magic has been mentioned below in the light of hadiths:
1. Eating Ajwa dates:
Eating of Ajwa dates is a cure of magic as mentioned in the following hadith:
Narrated Sad:Allah's Apostle salallahoaliehiwasalam said, "He who eats seven 'Ajwa dates every morning, will not be affected by poison or magic on the day he eats them."(SahihBukhari : Book 7 , Volume 65 , Hadith 356)
2. Blowing of Surah IkhlasFalaq and Nas:
Surah Falaq and Nas is very beneficial for the person affected by magic .This has been mentioned in the following hadith:
Narrated 'Aisha:Whenever Allah's Apostle went to bed, he used to recite Surat-al-Ikhlas, Surat-al-Falaq and Surat-an-Nas and then blow on his palms and pass them over his face and those parts of his body that his hands could reach. And when he fell ill, he used to order me to do like that for him. (Sahih Bukhari : Book 7 ,Volume 71 , Hadith 644)
3. Recitation of Surah Fatihah:
Fatihah is cure of all diseases.Magic is also a kind of spiritual disease so a person who is affected by magic should recite Surah Fatihah. Some hadiths telling the effects of surah fatihah are as follows:
1.Narrated Alaqamah ibnSahar at-Tamimi:Alaqamah came to the Apostle of Allah (may peace be upon him) and embraced Islam. He then came back from him and passed some people who had a lunatic fettered in chains.
His people said: We are told that your companion has brought some good. Have you something with which you can cure him? I then recited Surat al-Fatihah and he was cured. They gave me one hundred sheep. I then came to the Apostle of Allah (peace_be_upon_him) and informed him of it.
He asked: Is it only this? The narrator, Musaddad, said in his other version: Did you say anything other than this? I said: No. He said: Take it, for by my life, some accept if for a worthless chain, but you have done so for a genuine one.(AbuDawud : Book 28 , Hadith 3887)
2. Narrated Abu Said:Some of the companions of the Prophet went on a journey till they reached some of the 'Arab tribes (at night). They asked the latter to treat them as their guests but they refused. The chief of that tribe was then bitten by a snake (or stung by a scorpion) and they tried their best to cure him but in vain. Some of them said (to the others), "Nothing has benefited him, will you go to the people who resided here at night, it may be that some of them might possess something (as treatment)," They went to the group of the companions (of the Prophet ) and said, "Our chief has been bitten by a snake (or stung by a scorpion) and we have tried everything but he has not benefitted. Have you got anything (useful)?" One of them replied, "Yes, by Allah! I can recite a Ruqya, but as you have refused to accept us as your guests, I will not recite the Ruqya for you unless you fix for us some wages for it." They agree to pay them a flock of sheep. One of them then went and recited (Suratul-Fatiha): 'All the praises are for the Lord of the Worlds' and puffed over the chief who became all right as if he was released from a chain, and got up and started walking, showing no signs of sickness.
They paid them what they agreed to pay. Some of them (i.e. the companions) then suggested to divide their earnings among themselves, but the one who performed the recitation said, "Do not divide them till we go to the Prophet and narrate the whole story to him, and wait for his order." So, they went to Allah's Apostle and narrated the story. Allah's Apostle asked, "How did you come to know that Surat-ul-Fatiha was recited as Ruqya?" Then he added, "You have done the right thing. Divide (what you have earned) and assign a share for me as well." The Prophet smiled thereupon (SahihBukhari : Book 3 , Volume 36 , Hadith 476)
Same incident has been discussed in a brief hadith:
Narrated Abu Said Al-Khudri:Some of the companions of the Prophet came across a tribe amongst the tribes of the Arabs, and that tribe did not entertain them. While they were in that state, the chief of that tribe was bitten by a snake (or stung by a scorpion). They said, (to the companions of the Prophet ), "Have you got any medicine with you or anybody who can treat with Ruqya?" The Prophet's companions said, "You refuse to entertain us, so we will not treat (your chief) unless you pay us for it." So they agreed to pay them a flock of sheep. One of them (the Prophet's companions) started reciting Surat-al-Fatiha and gathering his saliva and spitting it (at the snake-bite). The patient got cured and his people presented the sheep to them, but they said, "We will not take it unless we ask the Prophet (whether it is lawful)." When they asked him, he smiled and said, "How do you know that Surat-al-Fatiha is a Ruqya? Take it (flock of sheep) and assign a share for me."(SahihBukhari : Book 7 , Volume 71 , Hadith 632)
4. Recitation of Ayah al Kursee:
Ayatul kursee is cure of all kinds of satanic influences.This is proved from the following hadith:-
Narrated Abu Huraira:Allah's Apostle deputed me to keep Sadaqat (al-Fitr) of Ramadan. A comer came and started taking handfuls of the foodstuff (of the Sadaqa) (stealthily). I took hold of him and said, "By Allah, I will take you to Allah's Apostle ." He said, "I am needy and have many dependents, and I am in great need." I released him, and in the morning Allah's Apostle asked me, "What did your prisoner do yesterday?" I said, "O Allah's Apostle! The person complained of being needy and of having many dependents, so, I pitied him and let him go." Allah's Apostle said, "Indeed, he told you a lie and he will be coming again." I believed that he would show up again as Allah's Apostle had told me that he would return. So, I waited for him watchfully. When he (showed up and) started stealing handfuls of foodstuff, I caught hold of him again and said, "I will definitely take you to Allah's Apostle. He said, "Leave me, for I am very needy and have many dependents. I promise I will not come back again." I pitied him and let him go.
In the morning Allah's Apostle asked me, "What did your prisoner do." I replied, "O Allah's Apostle! He complained of his great need and of too many dependents, so I took pity on him and set him free." Allah's Apostle said, "Verily, he told you a lie and he will return." I waited for him attentively for the third time, and when he (came and) started stealing handfuls of the foodstuff, I caught hold of him and said, "I will surely take you to Allah's Apostle as it is the third time you promise not to return, yet you break your promise and come." He said, "(Forgive me and) I will teach you some words with which Allah will benefit you." I asked, "What are they?" He replied, "Whenever you go to bed, recite "Ayat-al-Kursi"-- 'Allahu la ilaha illa huwa-l-Haiy-ul Qaiyum' till you finish the whole verse. (If you do so), Allah will appoint a guard for you who will stay with you and no satan will come near you till morning. " So, I released him. In the morning, Allah's Apostle asked, "What did your prisoner do yesterday?" I replied, "He claimed that he would teach me some words by which Allah will benefit me, so I let him go." Allah's Apostle asked, "What are they?" I replied, "He said to me, 'Whenever you go to bed, recite Ayat-al-Kursi from the beginning to the end ---- Allahu la ilaha illa huwa-lHaiy-ul-Qaiyum----.' He further said to me, '(If you do so), Allah will appoint a guard for you who will stay with you, and no satan will come near you till morning.' (Abu Huraira or another sub-narrator) added that they (the companions) were very keen to do good deeds. The Prophet said, "He really spoke the truth, although he is an absolute liar. Do you know whom you were talking to, these three nights, O Abu Huraira?" Abu Huraira said, "No." He said, "It was Satan."(Sahih Bukhari : Book 3 , Volume 38 , Hadith 505 )
5. Recitation of La ilaha ilal lah wahdadahu lasharika lahu lahul mulku wala hul hamdu wahowa ala kulle shayee in Qadeer cures magic:-
La ilaha ilal lah wahdadahu lasharika lahu lahul mulku wala hul hamdu wahowa ala kulle shayee in Qadeer is a very beneficial zikar and whoever recites this zikar 100 times in the morning it safeguards him from all kinds of Satanic influences as mentioned in the following hadith:-
Abu Huraira reported Allah's Messenger (may peace be upon him) as saying: He who uttered these words:" There is no god but Allah, the One, having no partner with Him. Sovereignty belongs to Him and all the praise is due to Him, and He is Potent over everything" one hundred times every day there is a reward of emancipating ten slaves for him, and there are recorded hundred virtues to his credit, and hundred vices are blotted out from his scroll, and that is a safeguard for him against the Satan on that day till evening and no one brings anything more excellent than this, except one who has done more than this (who utters these words more than one hundred times and does more good acts) and he who utters:" Hallowed be Allah, and all praise is due to Him," one hundred times a day, his sins are obliterated even if they are equal to the extent of the foam of the ocean. (Muslim: Book 35 , Hadith 6508 )
6. Recitation of Aozobillah is cure of satanic influences:
Satanic influences are also cure when some one recites Aozo billah himanash shaitan nir rajeem. It is proved from the following hadith:
Sulaiman b. Surad reported that two persons abused each other in the presence of Allah's Apostle (may peace be upon him) and one of them fell into a rage and his face became red. Allah's Apostle (may peace be upon him) saw him and said: I know of a wording; if he were to utter that, he would get out (of the fit of anger) (and the wording is): I seek refuge with Allah from Satan, the accursed. Thereupon, a person went to him who had heard that from Allah's Apostle (may peace be upon him) and said to him: Do you know what Allah's Messenger (may peace be upon him) said? He (the Holy Prophet) said: I know of a wording; if he were to say that, (the fit) would be no more (and the words are): I seek refuge with Allah from Satan, the accursed. And the person said to him: Do you find me mad?( Muslim : Book 32 , Hadith 6317)
7. Frequent remembrance of Allah swt(Zikarullah):
Frequent remembrance of Allah swt is also the cure of satanic influences.This is proved from the following hadith:
Jabir b. 'Abdullah reported Allah's Messenger (may peace be upon him) as saying: When a person enters his house and mentions the name of Allah at the time of entering it and while eating the food, Satan says (addressing himself: You have no place to spend the night and no evening meal; but when he enters without mentioning the name of Allah, the Satan says: You have found a place to spend the night, and when he does not mention the name of Allah while eating food, he (the Satan) says: You have found a place to spend the night and evening meal. This hadith has been narrated on the authority of Jabir b. Abdullah through the same chain of transmitters but with a slight variation of wording. (Muslim : Book 23 , Hadith 5006 )
So when a person frequently remembers Allah swt than Satan cannot damage him.
One should not use unlawful means to cure magic:
Many people use unlawful means to cure magic.They go to magicians and astrologists to cure their magic.They must not do so because Rasoolsalallahoaliehiwasalam has prohibited used of unlawful things and methods for cure.It has been discussed in the following hadith:
Narrated AbudDarda:The Prophet (peace be upon him) said: Allah has sent down both the disease and the cure, and He has appointed a cure for every disease, so treat yourselves medically, but use nothing unlawful. (Abu Dawud : Book 28 ,Hadith 3865
i hope you have understand all about magic by reading this article.