Jeremiah 20:2

And Pashhur struck the prophet Jeremiah, and he sent him to the stocks, which were at the upper gate of Benjamin at the house of the Lord

Other versions

King James Version

Then Pashur smote Jeremiah the prophet, and put him in the stocks that were in the high gate of Benjamin, which was by the house of the LORD.

English Standard Version

Then Pashhur beat Jeremiah the prophet, and put him in the stocks that were in the upper Benjamin Gate of the house of the LORD.

New International Version

he had Jeremiah the prophet beaten and put in the stocks at the Upper Gate of Benjamin at the LORD's temple.