I remember that there were two girls and a boy in the book, and they find a man living in the woods who has blue eyes and a black beard. They later discover that he is a wizard. At one point, the boy is turned into a tree by an evil witch or entity. I'm afraid that's all that I can remember.
Does anyone have any idea what this book may be?