Answer
The force of friction points upward.
Work Step by Step
There are four forces acting on the book. The normal force from the hand and the normal force from the wall act in opposite directions with equal magnitude. The force of gravity is directed down. For the book to stay at rest, the force of static friction must act on the book in the opposite direction from the force of gravity. Therefore, the force of friction must point upward.