Genesis 21:30
And he said, For these seven ewe lambs shalt thou take of my hand, that they may be a witness unto me, that I have digged this well.
Cross-reference
Genesis 31:44-48 shows Jacob and Laban setting up stones as a witness between them — the same covenant-making practice of using a physical token as testimony.
Genesis 31:52 uses a heap and pillar as a witness between parties — the same principle of material objects serving as testimony to a covenant, as the lambs do here.
In Genesis 26:15, the Philistines stop up wells Abraham's servants had dug — the wells whose ownership Abraham established through his witness.
Joshua 22:27 describes an altar built as a witness between parties — the same concept of a physical object serving as testimony to bind a covenant agreement.
In Joshua 24:27, Joshua sets up a stone as a witness — same concept of a physical object serving as testimony to confirm an agreement.
In Joshua 22:28, an altar serves as a witness between tribes — parallel to Abraham using seven lambs as witness that he dug the well.
In Hebrews 6:16, oaths are said to settle disputes — exactly what Abraham's witness (the lambs) does here with Abimelech.