Jeremiah 32:2

32:2 Now at that time, the armies of the king of Babylon were besieging Jerusalem. The prophet Jeremiah was confined in the courtyard of the guardhouse attached to the royal palace of Judah.

Jeremiah 32:8

32:8 Now it happened just as the Lord had said! My cousin Hanamel came to me in the courtyard of the guardhouse. He said to me, ‘Buy my field which is at Anathoth in the territory of the tribe of Benjamin. Buy it for yourself since you are entitled as my closest relative to take possession of it for yourself.’ When this happened, I recognized that the Lord had indeed spoken to me.