and created other things besides them. Allah fashioned the stars for three purposes: as an adornment of the sky, as missiles against the devils, and as markers by which people find their way. This is what the Noble Qur’an affirms. Whoever seeks from the stars anything beyond that has gone astray and wasted his share. Such, then, is the ruling on astrology and the stars.
The same verdict applies to all other superstitious and magical practices—such as geomantic sand-casting, line-drawing in the sand, and the like—that are used to claim knowledge of the unseen, to foretell events, to cure illnesses, or for any similar aim. All of these fall under the heading of astrology, soothsaying, and the rites of associationism, for hearts must be attached solely to Allah, their Creator and Disposer, the One who holds in His hand both harm and benefit, good and evil; all good is in His hand, and He is capable of everything. As for these created entities, they are managed and ruled beings that have no say in the matter at all. Allah says: “Among His signs are the night and the day, and the sun and the moon. Do not prostrate to the sun nor to the moon, but prostrate to Allah who created them, if it is Him you worship” [Fussilat 41:37]. He also says: “Indeed, your Lord is Allah who created the heavens and the earth in six days, then established Himself above the Throne. He wraps the night over the day, rapidly pursuing it, and He subjected the sun, the moon, and the stars by His command. Unquestionably, His is the creation and the command; blessed is Allah, Lord of the worlds” [Al-Aʿrāf 7:54].
All of them are created, governed beings that carry out the benefits Allah has tied to them, fulfilling their functions in obedience to Him and by His subjugation. To attach oneself to them and to seek from them the removal of harm or the acquisition of benefit is major associationism and a pagan belief.
As for the hadith, “There was a prophet among the prophets who used to draw lines; whoever’s line matches his, that is acceptable,” it is authentic, narrated by Imam Muslim, Imam Ahmad, and others.