Succah4: 2
לוּלָב שִׁבְעָה כֵּיצַד? יוֹם טוֹב הָרִאשׁוֹן שֶׁל חַג שֶׁחָל לִהְיוֹת בַּשַּׁבָּת, לוּלָב שִׁבְעָה; וּשְׁאָר כָּל הַיָּמִים, שִׁשָּׁה.
How is [the mitzvah of] lulav [performed] seven [days]? If the first day of the Festival falls on the Sabbath, the lulav [is taken] seven [days]; but [if it falls] on any of the other days, [it is taken] six [days].