When You See Your Companion is Sad – Ibn Hajr
Al-Haafidh ibn Hajr (rahimahullah)
Indeed when a person sees his companion is sad, it’s recommended for him to speak to him (with words) which will remove his sadness and bring comfort to his soul.
Fath al-Baari vol.9 pg.292