From Egyptian Secrets of Albertus Magnus, Joseph H. Peterson edition:
That no Witch may leave a Church.
Purchase a pair of new shoes, grease them on Saturday with grease on the outer sole, then put them on and walk to the church, and no witch can find the way out of the church without you proceed before her.
The grimoires The Book of Forbidden Knowledge Egyptian Secrets of Albertus Magnus lists this spell.