Fetching details from the dictionary...

safety; security; peace; quiet
safely; without incident; successfully
good health
私は遠くにいる彼の無事を毎日祈っている。
I'm praying for his safety.
長い旅行から家族全員無事に帰ってきた。
I returned safely from the trip.
家族全員が無事だった。
Everyone in the family was safe.