ESV: The word of the Lord came to Jeremiah while he was shut up in the court of the guard:
NIV: While Jeremiah had been confined in the courtyard of the guard, the word of the Lord came to him:
NASB: Now the word of the Lord had come to Jeremiah while he was confined in the courtyard of the guardhouse, saying,
CSB: Now the word of the Lord had come to Jeremiah when he was confined in the guard’s courtyard:
NLT: The Lord had given the following message to Jeremiah while he was still in prison:
KJV: Now the word of the Lord came unto Jeremiah, while he was shut up in the court of the prison, saying,
NKJV: Meanwhile the word of the Lord had come to Jeremiah while he was shut up in the court of the prison, saying,