Joshua 20:3-6

VIN(i) 3 »anyone who kills someone accidentally and unintentionally may go there for a refuge from the avenger of blood. 4 The killer will flee to one of these cities, stand at the entrance of the gate of the city, and state his case to the elders of that city; and they will take him into the city and give him a place, and he will dwell among them. 5 And if the avenger of blood pursues after him, they will not hand over the killer into his hand, because he killed his neighbor unintentionally, and he did not hate him previously. 6 He shall live in that city until he stands trial before the community, until the death of the one who is high priest at that time. Then the killer may return to his own city and to his own home, that is, to the city from which he fled.'"