Jehovah appeared to Solomon the second time, as He had appeared to him at Gibeon.
And Jehovah was angry with Solomon because his heart was turned from Jehovah, the God of Israel, who had appeared to him twice
In Gibeon Jehovah appeared to Solomon in a dream by night. And God said, Ask what I shall give you!
And Jehovah appeared to Solomon by night, and said to him, I have heard your prayer, and have chosen this place to Myself for a house of sacrifice.