Numbers 35:12

35:12 And they must stand as your towns of refuge from the avenger in order that the killer may not die until he has stood trial before the community.

Numbers 35:25

35:25 The community must deliver the slayer out of the hand of the avenger of blood, and the community must restore him to the town of refuge to which he fled, and he must live there until the death of the high priest, who was anointed with the consecrated oil.