Three times in the year all your males shall appear before Hashem your God in the place that He will choose: on the festival of Matzos, on the festival of Shavuos, and on the festival of Sukkos; and they shall not appear before Hashem empty-handed.
English: "And on the festival of Sukkos" — for what law did the Merciful One write the festival of Sukkos? To compare it to the festival of Matzos; just as on the festival of Matzos one is required to stay overnight in Yerushalayim, so on the festival of Sukkos one is required to stay overnight in Yerushalayim.
On the daf / in context: The obligation of linah applies on Sukkos as it does on Pesach.
Type of Learning
Hekkesh (Chagigah) — linah is required on Sukkos.
What Is Learned
One who brings an offering on Sukkos must remain overnight in Yerushalayim, just as on Pesach.