TT #48 · Parshas Vayeira · Passuk 18:33
And Hashem went His way when He had finished speaking to Avraham, and Avraham returned to his place.
Torah Temimah points to Derech Eretz Rabbah 5 (and parallel).
TT lemma: וילך ה'.
“And Hashem went.” It was taught: A person should never take leave of his teacher or his friend unless he first obtains permission from him. We learn proper conduct from the Omnipresent, as it is said, “And Hashem went when He had finished speaking to Avraham”—as if to say, “Behold, I am taking leave of you.”
Category D — Conceptual / ethical inference.
Method — The baraisa derives a rule of proper conduct from Hashem’s departure: a person should not leave a teacher or friend without first obtaining permission.
Textual trigger — “Vayelech Hashem ka-asher killah ledaber el Avraham” in Bereishis 18:33; the sugya reads the Torah’s description of Hashem’s departure as a model for human etiquette.
One should not depart from a teacher or friend without first taking leave; Hashem Himself modeled this by “going” only after finishing the conversation with Avraham.