Sample externally powered analog sensor with TelosB
Yes, you will need to connect the grounds together, and yes, it should be safe as long as there isn't a large ground potential difference between the two devices (only really happens between devices at remote sites).

The signal will need to be scaled down otherwise you risk blowing the ADC input.  A simple resistive divider should do the trick.