Genesis 20:3-6

KJ2000(i) 3 But God came to Abimelech in a dream by night, and said to him, Behold, you are but a dead man, for the woman that you have taken; for she is a man's wife. 4 But Abimelech had not come near her: and he said, Lord, will you slay also a righteous nation? 5 Said he not unto me, She is my sister? and she, even she herself said, He is my brother: in the integrity of my heart and innocence of my hands have I done this. 6 And God said unto him in a dream, Yea, I know that you did this in the integrity of your heart; for I also have kept you from sinning against me: therefore I permitted you not to touch her.