Residents help capture escaped prisoner