When expressing condolences, it can be difficult to find the right words to describe the relationship between the speaker and the deceased. Instead of using the phrase "friend of the deceased," there are several synonyms that can be used to convey the same meaning. These include "acquaintance," "companion," "close associate," "confidante," "ally," "colleague," "associate," and "pal." Each of these words has its own unique connotations and effectiveness depends on the situation and personal preference of the speaker. Ultimately, the most important thing is to express genuine sympathy and offer comfort to the bereaved in their time of grief.