Jeremiah 20:2 NIV

2 he had Jeremiah the prophet beaten1 and put in the stocks2 at the Upper Gate of Benjamin3 at the LORD's temple.

References for Jeremiah 20:2