Genesis 20:3

But God came to Abimelech in a dream by night, and said to him, "Indeed you are a dead man because of the woman whom you have taken, for she is a man's wife."