Keeping Watch At Hashems Doors
במדרש א"ש תשמע אשרי אדם שומע כו' ששמועותיו לי לשקוד על דלתותי דלת לפנים מדלת כו' מזוזת פתחי כשם שאין המזוזה זז מן הפתח כך לא תהי' זז מבתי כנסיות ומדרשות
In the Midrash on the verse "If you will surely listen" (Mishlei 8:34): Fortunate is the man who listens to Me, whose hearings (i.e., the lessons he absorbs from Me) bring him "to keep watch at My doors" — a doorway within a doorway, as it continues, "the doorposts of My entrances." Just as the mezuzah never moves from the doorway, so too you should never move away from the batei knesses and the batei midrash (the houses of prayer and study).
The Sfas Emes opens with a Midrash on "If you will surely listen": the person who truly absorbs Torah is the one who keeps watch at Hashem's doors, like a mezuzah fixed to the doorway who never strays from the batei knesses and batei midrash.
ממשמע שנאמר דלתותי יום יום נשמע שבכל יום יש פתיחת ב' הדלתות והם בעצמם נק' יום יום כענין שנא' יום יום יעמס לנו כמ"ש בזוה"ק פ' מקץ שנתים ימים ע"ש
From the very fact that the verse says "My doors, day by day," we understand that every single day there is an opening of these two doors, and the days themselves are called "day by day," along the lines of the verse "Day by day He bears our burden for us" (Tehillim 68:20), as is explained in the Zohar HaKadosh on Parshas Mikeitz regarding "two years of days" (Bereishis 41:1) — see there.
The phrase "day by day" teaches that these two doors are opened anew every single day, and the days themselves carry this quality of constant renewal.
והם שערי תורה ותפלה בחי' תורה שבכתב ושבע"פ
And these two doors are the gateways of Torah and tefillah, corresponding to the aspect of Torah she'biksav (the Written Torah) and Torah she'be'al peh (the Oral Torah).
The two doors are identified as the gateways of Torah and tefillah, paralleling the Written Torah and the Oral Torah.
והם דלת לפנים מדלת
And these are "a doorway within a doorway."
Together these gateways form the image of "a doorway within a doorway" from the Midrash.
ומ"ש שלא תהי' זז מן בת"כ ובתמ"ד וכי יהי' אדם כל היום בבית הכנסת
Now, regarding what the Midrash says, that you should never move away from the batei knesses and the batei midrash — can it be that a person should remain in shul the entire day?
The Sfas Emes raises a difficulty: surely the Midrash cannot mean a person must literally sit in shul all day long.
אך הפי' לזכור בעבודת הבורא ית"ש בכל עת וכל מה שעובר לפניו יתבונן בו להכניסו לעבודת הבורא זה ענין בתי כנסיות
Rather, the meaning is that one must remember the avodah of the Creator, blessed be His Name, at every moment, and whatever passes before him he should contemplate, in order to draw it into the service of the Creator — this is the inner meaning of the "houses of prayer."
He answers that the real intent is to stay constantly mindful of avodas Hashem, contemplating everything one encounters in order to draw it into the service of the Creator — that is the true "house of prayer."
ואח"כ יוכל למצוא בו תורה ללמוד ממנו עבודת הבורא כי כל מה שברא הקב"ה לכבודו ברא למילף מיני' חכמתא סגיאה כמ"ש בזוה"ק
And afterward he will be able to find Torah within it, to learn from it the avodah of the Creator, for everything that the Holy One, Blessed is He, created, He created for His honor — to derive from it great wisdom, as is stated in the Zohar HaKadosh.
Beyond drawing experiences into avodah, one can then find Torah within them, since Hashem created everything for His honor so that we may extract deep wisdom from it.
ומבטיח הפסוק אם תעשה כן תקבל פני השכינה מוצאי מצא חיים
And the verse promises that if you do so, you will merit to receive the countenance of the Shechinah, as it says, "For one who finds Me has found life" (Mishlei 8:35).
The verse promises that whoever lives this way merits to receive the Shechinah, for "one who finds Me has found life."
ולשקוד על דלתותי היא היגיעה אפי' כשנסתם הדלת דכ' שער החצר הפנימית כו' ימי המעשה יהי' סגור
And "to keep watch at My doors" refers to the toil and exertion, even when the door has been closed, as it is written, "The gate of the inner courtyard … during the six days of labor shall be shut" (Yechezkel 46:1).
"Keeping watch at the doors" means persisting in toil even when the gate is shut, as Yechezkel describes the inner gate being closed during the weekdays.
ביום השבת וחודש יפתח הם ב' דלתות הנ"ל שנפתחים בזמנים מקודשים
"But on the day of Shabbos and on the day of the new moon it shall be opened" (Yechezkel 46:1) — these are the two doors mentioned above, which open at sanctified times.
The gate opening on Shabbos and Rosh Chodesh represents the two doors that open at sanctified times.
אבל נפשות בנ"י הקדושים גם בימי המעשה ע"י השקידה על הדלתות זוכין למצוא חיים ולקבל פני השכינה כמ"ש המדרש
But the holy neshamos of Bnei Yisrael, even during the weekdays of labor, through their watchful diligence at the doors, merit to find life and to receive the countenance of the Shechinah, as the Midrash states.
Yet the holy neshamos of Bnei Yisrael, through their diligent watching, can find life and the Shechinah even during ordinary weekdays.
ובחי' בתי כנסיות ומדרשות הנ"ל עליהם נרמז הסכת ושמע דרשו חז"ל הס ואח"כ כתת
And it is to the aspect of these batei knesses and batei midrash that the verse "Be silent and listen" (Devarim 27:9) alludes, which Chazal expounded as "Hass" (be still) and afterward "Kasses" (break into pieces — i.e., form study groups).
These houses of prayer and study are hinted at in "Be silent and listen," which Chazal read as "Hass" (be still) followed by "Kasses" (forming study groups).
הס בחי' בית הכנסת וכתת בתי מדרשות
"Hass" corresponds to the aspect of the beis haknesses, and "Kasses" to the batei midrash.
"Hass" maps onto the beis haknesses and "Kasses" onto the batei midrash.
והם בחי' שמירה וזכירה:
And these are the two aspects of shemirah (guarding) and zechirah (remembering).
These correspond respectively to the two aspects of guarding (shemirah) and remembering (zechirah).
Summary: Building on the Midrash to "If you will surely listen," the Sfas Emes explains that keeping watch at Hashem's "doors" means clinging to the gateways of Torah and tefillah — the Written and Oral Torah — which are opened anew each day. He resolves the difficulty of never leaving the batei knesses and batei midrash by teaching that the real avodah is constant mindfulness of the Creator: contemplating everything one encounters and drawing it into Hashem's service, and then discovering the Torah and wisdom embedded within it, since Hashem fashioned everything for His honor. While the inner gate of holiness opens on its own at sanctified times like Shabbos and Rosh Chodesh, the holy neshamos of Bnei Yisrael, through diligent toil, can find life and receive the Shechinah even amid the ordinary weekdays. This twofold avodah is alluded to in "Hass" (the beis haknesses) and "Kasses" (the beis midrash), which embody the two aspects of guarding and remembering.