This dream is a good sign which means that the person who is prisoner will be released very soon. If the person is staying some where then this is the sign of his motion. He will move to some other place and if he is out of country then he will return to homeland.