We agreed to abide with the decision of the judge.
Possible revision:
We agreed to abide by the decision of the judge.
For more help, see section 18d.