2 Chronicles 7:11-16 NRSV
Thus Solomon finished the house of the LORD and the king's house; all that Solomon had planned to do in the house of the LORD and in his own house he successfully accomplished.
Then the LORD appeared to Solomon in the night and said to him: “I have heard your prayer, and have chosen this place for myself as a house of sacrifice. When I shut up the heavens so that there is no rain, or command the locust to devour the land, or send pestilence among my people, if my people who are called by my name humble themselves, pray, seek my face, and turn from their wicked ways, then I will hear from heaven, and will forgive their sin and heal their land. Now my eyes will be open and my ears attentive to the prayer that is made in this place. For now I have chosen and consecrated this house so that my name may be there forever; my eyes and my heart will be there for all time.
NRSV: New Revised Standard Version