2 Chronicles 1:7 in the King James Version
In that night did God appear unto Solomon, and said unto him, Ask what I shall give thee.
Context
6 Solomon went up there to the bronze altar before the LORD, which was at the Tent of Meeting, and offered one thousand burnt offerings on it.
7 That night, God appeared to Solomon and said to him, “Ask for what you want me to give you.”
8 Solomon said to God, “You have shown great loving kindness to David my father, and have made me king in his place.