While this is a sensitive issue, make sure of two things. One, ask yourself if the friend is a really close one. If yes, go ahead and invite them, understanding that they would take it well. Two, simply ask the friend if they would like to come over. Communication is the key and be sensitive while you ask.