Ornias appears near the beginning of the Testament of Solomon. In F. C. Conybeare’s translation, the demon takes a boy’s wages and food while the Temple is being built.
Solomon prays for help, and Michael brings him a ring. The boy uses it to bring Ornias before the king. During the questioning, Ornias identifies himself by name and associates himself with the Water-pourer.
Solomon sets Ornias to cut stones. When the demon resists, the king summons Uriel, who subdues him. Ornias is then sent with the ring to bring Beelzeboul before Solomon.
The Testament of Solomon, Conybeare translation, sections 2–14, Peterson’s digital edition.