2 Chronicles 6:37-39

37yet if they turn their heart in the land to which they have been carried captive, and repent and plead with you in the land of their captivity, saying, ‘We have sinned and have acted perversely and wickedly,’ 38if they repent with all their heart and with all their soul in the land of their captivity to which they were carried captive, and pray toward their land, which you gave to their fathers, the city that you have chosen and the house that I have built for your name, 39then hear from heaven your dwelling place their prayer and their pleas, and maintain their cause and forgive your people who have sinned against you.
Copyright information for ESV