Parshas Mishpatim · Passuk 23:17
Chabad.org — English translation + Rashi
Torah Temimah points to ירושלמי חגיגה פ״א ה״א (verified).
Sefaria — Exodus 23:17
Sefaria — ירושלמי חגיגה פ״א ה״א
English: R. Yehoshua ben Levi said: From where do we learn that whoever fulfills the mitzvah of re’iyah is as one who receives the presence of the Shechinah? From the verse “Three times a year all your males shall appear before the Lord God.”
On the daf / in context: See the cited source for the full section.
Derash on the verse — equating re’iyah with receiving the Shechinah.
The derashah of Torah Temimah on the words אל פני האדון ה׳ establishes the classical source and the operative rule derived from it.