Police pursued a suspected stolen vehicle as part of an operation tackling drugs being taken into prisons.