Question: what to say to a friend when their dog dies?
Answer: Thinking about you and [pet's name]. ...  We can never keep them long enough! ...  Wishing you comfort and peace during this difficult time. I am so sorry for your loss. ...  [Pet's name] was such a great [dog/cat/etc.]. ...  Losing such an important part of the family is never easy.