Intisar is Alif’s lover, and when she leaves him for an arranged marriage to a prince, Alif does what any talented computer geek would do (okay, probably not true). He writes a program to identify Intisar from wherever she accesses the internet and then hides himself from her online. The Hand, head of State online security, breaches Alif’s security and steals this program.
It turns out Intisar’s fiance is the Hand, and he now knows about their relationship. Alif is forced to go on the run, along with his childhood friend, Dina. They also have in their possession the only known copy of the Thousand and One Days. A book of the jinn that the Hand desperately wants. The jinn’s metaphorical way of thinking has profound implications for information technology, and the Hand wants to harness this new method for his own ends. Alif must seek aid from beings he didn’t believe existed, namely the jinn as they exist in the Qur’an, in order to save himself and his friends.