Chess and the law
Is chess lawful for a Muslim? The four schools of law answered differently, and Ali ash-Shatranji was a Shafi’ite.

The Qur’an does not name chess. The jurists reasoned by analogy from verse 5:90, where wine, maysir, gambling, idols and divining arrows are called “an abomination of the works of Satan”. Under maysir they placed every game depending on chance or played for money: the prohibition of nard, and later of cards, rests on this verse. There is also a tradition that the caliph Ali called chess “the Persian maysir”, but Muslim authors themselves disputed its genuineness.
The four schools
Abu Hanifa (died 767) held chess to be makruh, disapproved but not forbidden; he is said not to have refused to greet a player at his board. Malik ibn Anas (died 795) pronounced it haram and found it worse than nard, because it holds its players more strongly. Ahmad ibn Hanbal (died 855) was also against it, though he thought nard the worse evil. Ash-Shafi’i (died 820) took a more liberal view: chess is an image of war and may be played as an exercise of the mind. He played himself, citing the example of the Prophet’s companions, and left four conditions of lawfulness: no stake and no money, no neglect of prayer, no foul language, and no play in the street.
The Hanbalite Ibn Taymiyya (died 1328) reasoned sensibly that the maysir in chess is only the stake. And the ban on “images” in the same verse was extended by Sunni players to the pieces: a ferz, an elephant or a horse carved to the life seemed unlawful, so the Sunni East played with conventional, non-figurative men. Shi’ites and later the Mughals knew no such restraint; hence the carved horses and elephants of Indian and Persian sets. Our carved set, with its giraffe and camel, follows that second tradition.
At Timur’s court
Ibn Arabshah, telling of Ali ash-Shatranji, Timur’s best player, adds: “He was a Shafi’ite.” It is no idle detail: the Shafi’ite school is the one that allowed play. Timur himself, by the same historian’s account, played great chess and ranked himself in the state as high as Ali on the board.