Genesis 21:27

21:27 Abraham took some sheep and cattle and gave them to Abimelech. The two of them made a treaty.

Genesis 21:32

21:32 So they made a treaty at Beer Sheba. Then Abimelech and Phicol, the commander of his army, returned to the land of the Philistines.