Husband rashly goes into court, revoking gaol (8)
I believe the answer is:
hoosegow
'gaol' is the definition.
(hoosegow is a kind of gaol)
'husband rashly goes into court revoking' is the wordplay.
'husband' becomes 'h'.
'rashly' indicates an anagram (I've seen this in other clues).
'into' indicates putting letters inside.
'court' becomes 'woo' (synonyms).
'revoking' says the letters should be written backwards (to revoke is to reverse).
'woo' written backwards gives 'oow'.
'goes' is an anagram of 'sego'.
'sego' placed inside 'oow' is 'oosegow'.
'h'+'oosegow'='HOOSEGOW'
(Other definitions for hoosegow that I've seen before include "Prison (in America)" , "Where one's jailed" .)