Then the Lord appeared to Solomon, through a dream in the night, saying, "Request whatever you wish, so that I may give it to you.
Other versions
King James Version
In Gibeon the LORD appeared to Solomon in a dream by night: and God said, Ask what I shall give thee.English Standard Version
At Gibeon the LORD appeared to Solomon in a dream by night, and God said, "Ask what I shall give you."New International Version
At Gibeon the LORD appeared to Solomon during the night in a dream, and God said, "Ask for whatever you want me to give you."