condolence

Words or actions showing sympathy when someone is very sad.