How did Abimelech discover that Rebekah was Isaac's wife?

He looked out a window, saw Isaac sporting with Rebekah, and confronted Isaac about the deception.

Watch the Teaching: Why Should a Wife Submit if Her Husband is Wrong?