The tale is told by Herodotus in his History (Book II, 126).