Pioneer 10
On July 15, 1972, Pioneer 10 became the first spacecraft that entered the asteroid belt, and then on February 15, 1973, Pioneer 10 exited the asteroid belt.  During this period, the spacecraft did encounter some asteroid hits, although fewer than expected.