וְיַעֲקֹב֙ נָסַ֣ע סֻכֹּ֔תָה וַיִּ֥בֶן ל֖וֹ בָּ֑יִת וּלְמִקְנֵ֙הוּ֙ עָשָׂ֣ה סֻכֹּ֔ת עַל־כֵּ֛ן קָרָ֥א שֵׁם־הַמָּק֖וֹם סֻכּֽוֹת׃
And Yaakov journeyed to Sukkot and built himself a house, and for his cattle he made booths; therefore he called the name of the place Sukkot.
Torah Temimah points to Bereshit Rabbah 78:16.
Sefaria · Bereshit Rabbah 78:16
ויבן לו בית — זה בית המדרש.
“And he built himself a house” — this is a house of study.
The Midrash identifies the house Yaakov built as a beit midrash.
Derash on the house (Bereshit Rabbah).
Yaakov’s house at Sukkot is understood as a place of Torah study.