The official website for The Settlers of Catan

Question about Wizards & Dragons Magic Books - When can I use my Magic Books?

Answer

Most Magic Books you can only use during your own turn. Exceptions are the Magic Books Countermagic, Timejump and Wheel of Time; in this context, please observe the respective rules of these cards.