In the Avesta (Vendidad, Fargard xix.
The Vendidad, the priestly code of the Parsees, contains in 22 chapters (fargard) a kind of dualistic account of the creation (chap. 1), the legend of Yima and the golden age (chap. 2), and in the bulk of the remaining chapters the precepts of religion with regard to the cultivation of the earth, the care of useful animals, the protection of the sacred elements, such as earth, fire and water, the keeping of a man's body from defilement, together with the requisite measures of precaution, elaborate ceremonies of purification, atonements, ecclesiastical expiations, and so forth.
Fargard 18 treats of the true and false priest, of the value of the house-cock, of the four paramours of the she-devil, and of unlawful lust.
Fargard 19 is a fragment of the Zoroaster legend: Ahriman tempts Zoroaster; Zoroaster applies to Ormuzd for the revelation of the law, Ahriman and the devils despair, and flee down into hell.