1 Kings 8:47-53

47 yet if they come to their senses in the land to which they have been taken captive, and repent, and plead with you in the land of their captors, saying, "We have sinned, and have done wrong; we have acted wickedly';
48 if they repent with all their heart and soul in the land of their enemies, who took them captive, and pray to you toward their land, which you gave to their ancestors, the city that you have chosen, and the house that I have built for your name;
49 then hear in heaven your dwelling place their prayer and their plea, maintain their cause
50 and forgive your people who have sinned against you, and all their transgressions that they have committed against you; and grant them compassion in the sight of their captors, so that they may have compassion on them
51 (for they are your people and heritage, which you brought out of Egypt, from the midst of the iron-smelter).
52 Let your eyes be open to the plea of your servant, and to the plea of your people Israel, listening to them whenever they call to you.
53 For you have separated them from among all the peoples of the earth, to be your heritage, just as you promised through Moses, your servant, when you brought our ancestors out of Egypt, O Lord God."
New Revised Standard Version Bible, copyright 1989, Division of Christian Education of the National Council of the Churches of Christ in the United States of America. Used by permission. All rights reserved.