Question: what to say to a child when their mother dies?
Answer: “You and your family are in my thoughts and prayers” will work if it's true. “I will miss your mother; she touched my life in so many ways” is a good opening for writing about ways that she touched your life.