Deuteronomy 21:2

New American Standard Bible (NASB)
then your elders and your judges shall go out and measure the distance to the cities which are around the slain one.

Read Deuteronomy 21:2 in other translations