EXTRA · Parashas Vayeishev · Passuk 39:2 · not a Torah Temimah citation on this passuk
Hashem was with Yosef, and he was a successful man; and he stayed in the house of his Egyptian master.
Classical source (EXTRA side-ring): Midrash Tanchuma, Vayeishev 8.
Sefaria — Midrash Tanchuma, Vayeishev 8
English: “And Hashem was with Yosef” — was the wicked Potiphar seeing that Hashem was with him? Rather, the Name of the Holy One never left Yosef’s mouth.
Derash on the verse (midrash) — not a formal named middah of the 13. “Hashem was with him” is explained by continuous mention of the Name.
Yosef’s constant invocation of Hashem made the presence of Heaven visible even to Potiphar.