God said to him in the dream, "Yes, I know your intentions were pure, that's why I kept you from sinning against me; I was the one who kept you from going to bed with her.
So now give the man's wife back to him. He's a prophet and will pray for you--pray for your life. If you don't give her back, know that it's certain death both for you and everyone in your family."
Then Abimelech called in Abraham and said, "What have you done to us? What have I ever done to you that you would bring on me and my kingdom this huge offense? What you've done to me ought never to have been done."
And to Sarah he said, "I've given your brother a thousand pieces of silver--that clears you of even a shadow of suspicion before the eyes of the world. You're vindicated."