You could say something compassionate and supportive, such as:
"I'm really sorry to hear that. It's completely understandable to miss her. If you want to talk about her or anything you’re feeling, I'm here for you."
This shows that you are listening and open to helping him process his feelings.