TT #1 · Parshas Vayeira · Passuk 18:1
Hashem appeared to him by the terebinths of Mamre; he was sitting at the entrance of the tent as the day grew hot.
Torah Temimah points to Sotah 14a. E-Daf · Sefaria — Sotah 14a
TT lemma: וירא אליו ה'.
“And Hashem appeared to him.” From here we learn that it is the way of the Holy One, blessed be He, to visit the sick.
Category D — Conceptual / logical / ethical inference.
Method — The Gemara derives an ethical model from Hashem’s conduct: because Hashem came to visit Avraham after his circumcision, visiting a sick person is a proper act of kindness.
Textual trigger — “Vayera elav Hashem” in Bereishis 18:1, read in the context of Avraham’s recovery from milah in the preceding chapter.
Parallel / contrast — Hashem’s visit to Avraham supplies the precedent for human visits to the sick; the sugya turns the narrative into a general ethical practice.
Visiting the sick is an imitation of Hashem’s own conduct: just as He appeared to Avraham while he recovered from circumcision, so we are obligated to visit the ill.