Prisoners in rehabilitation programmes