Green’s Dictionary of Slang

scouring n.

[scour v.1 ]

1. execution by hanging.

2. [late 17C–18C] imprisonment [some cits. with ‘escape/’scape’ may in fact refer to sense 1].

In compounds

scouring-house (n.)

a prison.