St. Thomas Aquinas ...in the Summa, which remains the greatest work of medieval thought, accepts the idea that certain animals, spring from the decaying bodies of plants and animals, and declares that they are produced by the creative word of God either actually or virtually. He develops this view by saying, "Nothing was made by God, after the six days of creation, absolutely new, but it was in some sense included in the work of the six days"; and that "even new species, if any appear, have existed before in certain native properties, just as animals are produced from putrefaction."
source
Andrew Dickson White, A History of the Warfare of Science with Theology in Christendom (1896) Vol.1 p. 55