There are two descriptions of magic; one is spiritual, and regarded by all but freethinkers as true; the other, natural, and denounced by the more religious and enlightened as deceptive.

I. Spiritual magic, which is termed "er-Rooḥánee" (vulgo "Rowḥánee"), chiefly depends upon the virtues of certain names of God, and passages from the Ḳur-án, and the agency of Angels and Jinn, or Genii. It is of two kinds: High and Low ("'Ilwee" and "Suflee"), or Divine and Satanic ("Raḥmánee," _i. e._ relating to "the Compassionate" [who is God], and "Sheyṭánee").

The Thousand and One Nights, Vol. I — Part 74

1. Divine magic is regarded as a sublime science, and is studied only by good men, and practised only for good purposes. Perfection in this branch of magic consists in the knowledge of "the most great name" of God ("el-Ism el Aạẓam"); but this knowledge is imparted to none but the peculiar favourites of Heaven. By virtue of this name, which was engraved on his seal-ring, Suleymán (or Solomon) subjected to his dominion the Jinn and the birds and the winds, as mentioned in a former note. By pronouncing it, his minister Áṣaf, also, transported, in an instant, to the presence of his sovereign, in Jerusalem, the throne of the Queen of Sheba.[127] But this was a small miracle to effect by such means; for, by uttering this name, a man may even raise the dead. Other names of the Deity, commonly known, are believed to have particular efficacies when uttered or written; as also are the names of the Prophet; and Angels and good Jinn are said to be rendered subservient to the purposes of divine magic by means of certain invocations. Of such names and invocations, together with words unintelligible to the uninitiated in this science, passages from the Ḳur-án, mysterious combinations of numbers, and peculiar diagrams and figures, are chiefly composed written charms employed for good purposes. Enchantment, when used for benevolent purposes, is regarded by the vulgar as a branch of lawful or divine magic; but not so by the learned; and the same remark applies to the science of divination.

The Thousand and One Nights, Vol. I — Part 74