The spaceprobe was beyond the Moon, looking back at Earth.
This photograph was taken by the Cassini spaceprobe, which is in orbit around Saturn.
The dot marked with an arrow is Earth.
To see the Earth turning in space is amazing - click here for a video.
Finally, an image taken by the NEAR spaceprobe - the Earth and Moon.