EXTRA · Parshas Vayeishev · Passuk 40:7 · not a Torah Temimah citation on this passuk
He asked Pharaoh’s courtiers, who were with him in custody in his master’s house, saying, “Why do you appear downcast today?”
Classical source (EXTRA side-ring): Bereshis Rabbah 88:4.
Sefaria — Bereshis Rabbah 88:4
English: “Why are your faces bad today?” — from here, that inquiring after another’s welfare is from the Torah.
Category D — Conceptual / ethical inference.
Method — Bereishis Rabbah derives that asking after another person’s welfare is taught by the Torah. Yosef’s question about the officials’ troubled faces becomes the source for the duty to inquire after another’s peace.
Textual trigger — “Madua pneichem ra‘im ha-yom” in Bereishis 40:7; the Midrash derives that asking after someone’s welfare is “min ha-Torah.”
It is a Torah value to notice when another’s face is downcast and to ask why.