From Egyptian Secrets of Albertus Magnus, Joseph H. Peterson edition:
For the Killing of Hoof Worms in Cattle.
Christ the Lord journeyed over the acre, upon Joseph's acre; he opens three furrows, he caught three worms; the first was white, the other was black, and third was dead and herewith N. N., all thy worms are dead. + + + Three times.
The grimoire Egyptian Secrets of Albertus Magnus lists this spell.