Question: What is the ruling on a person who removes magic spells using numbers such as: 21, 31, 137, 121, 25; he looks at these numbers in a way which, he claims, belongs to Yoonus (Jonah, peace be upon him)? It should be minded that this man does not know how to undo magic. He claims he can conjure spirits, which enables him to know the zodiac of the person before him and whether he has been bewitched. If not, he says to him, “Your zodiac is zero” after having taken the name of the bewitched person and his mother’s as well. Is this practice permissible and attributable to Yoonus (peace be upon him), or is it against the Qur’aan and the Sunnah and have not been reported from the Salaf (righteous predecessors)? What is the ruling on a person who goes to those who claim to remove spells using this way and believes in its validity? Please reply with evidence.
Answer: If the case is as you have mentioned, such a person is a soothsayer. There is no evidence that this method is attributed to Yoonus (peace be upon him). This is not Islaamically sanctioned and one should not consult these people, rather they must be denounced, as the Prophet (peace be upon him) stated, Whoever goes to a diviner and asks him about any matter, his Salaah (prayer) will not be accepted for forty nights. Narrated by Muslim in his Saheeh (authentic) Book of Hadeeth. The Prophet (peace be upon him) also stated Whoever goes to a soothsayer or a diviner and believes what he says, has disbelieved in what was revealed to Muhammad. Narrated by Imaam Ahmad and the Four Compilers of Hadeeth with a Saheeh (authentic) Isnaad (chain of narration).
The Prophet (peace be upon him) also stated Anyone who acquires any knowledge of astrology has acquired a branch of magic. Narrated by Aboo Daawood from Ibn ‘Abbaas with a Saheeh Isnaad... read more here.