Matthew 5:25 in the King James Version
Agree with thine adversary quickly, whiles thou art in the way with him; lest at any time the adversary deliver thee to the judge, and the judge deliver thee to the officer, and thou be cast into prison.
Context
24 leave your gift there before the altar, and go your way. First be reconciled to your brother, and then come and offer your gift.
25 Agree with your adversary quickly while you are with him on the way; lest perhaps the prosecutor deliver you to the judge, and the judge deliver you to the officer, and you be cast into prison.
26 Most certainly I tell you, you shall by no means get out of there until you have paid the last penny.