Good point. And it may have been God, or a Guardian Angel, who placed that Koran near enough to him that he was able to deceive the devil and save his life (and maybe continue to provide for his family on earth -- I didn't read the details).
More likely a devil did --- nothing good would want to touch the Koran.