what [someone] saysA phrase pattern meaning “what someone says” or “what someone tells you,” with の marking the person who speaks and を marking the whole phrase as the object. In の言うことを聞く, it means “listen to what someone says” or “do what someone tells you.”
JA: 先生の言うことをよく聞いてください。
EN: Please listen carefully to what the teacher says.