Roald Dahl's third book was "The Magic Finger", published in 1964.
It's a short story about a young girl named Mary who uses her magic finger to turn her neighbors into animals, causing chaos and then teaching them a lesson about kindness and generosity.