Galileo, enroute to Jupiter, was in position to capture images of Shoemaker-Levy Comet fragemnt impacts directly. The impact site was over the horizon of Jupiter as seen from Earth.
Source: NASA Solar System Exploration