some suggestions....could sound a bit too formal, but...
-- My deepest condolences to you and your family
-- you have my deepest sympathy
-- My prayers are with you and your family
I like what tingFeng suggested, "sorry for your loss", more casual