Court giving prison (4)
I believe the answer is:
quad
This clue is a double definition.
'court' is the first definition.
(quad can mean a rectangular courtyard)
'prison' is the second definition.
(quad can be slang for prison)
'giving' acts as a link.
(Other definitions for quad that I've seen before include "Enclosed courtyard" , "Thigh muscle; walled space" , "sporty vehicle" , "One of four children born at one birth" , "bike of sorts" .)