This story is found in the Codex TD 26. Ādurbād, being capable to recite the Avesta and Zand by heart, decided to go to the court of Vahrām in pursuit of a high position among the Magi, that is, the office of chief priest. On the road, he met a wise shepherd who asked her questions, but he could not answer.
The story of Ādurbād son of Zardušt
who wanted to become the chief priest of Ērānšahr