Soucca 4:3 Halakha : Mishneh Torah, Shofar, Sukkah and Lulav

עֲרָבָה שִׁבְעָה כֵּיצַד, יוֹם שְׁבִיעִי שֶׁל עֲרָבָה שֶׁחָל לִהְיוֹת בְּשַׁבָּת, עֲרָבָה שִׁבְעָה, וּשְׁאָר כָּל הַיָּמִים שִׁשָּׁה:

Par contre, pour la branche de saule, il y a 7 jours, savoir si le dernier, plus spécialement consacré à cet effet, coïncide avec le Shabat, auquel cas il prédomine, non si c’est en un autre jour; alors il reste 6 jours.

Mishneh Torah, Shofar, Sukkah and Lulav

How was its commandment? On each and every one of the seven days, they would bring tall willow branches and stand them upright at the sides of the altar, and the tops of the branches would be inclined over the altar. And at the time that they would bring them and arrange them, they sounded [three shofar blasts,] a tekiah, a teruah, and a tekiah. If the Shabbat came out to be in the middle of the festival, they did not stand the willow upright; unless the seventh day came out to be on Shabbat. [Then] they would stand it upright in order to publicize that it is a commandment.

Mishneh Torah, Shofar, Sukkah and Lulav

How would they do it? They would bring it from the eve of Shabbat and place it in basins of gold so that the leaves would not wilt. And on the morrow, they would stand it upright over the altar. And the people would come and take from it and lift it up like they would do every day. And since this [practice with the] willow is not explicit in the Torah, we do not lift it up all seven days of the festival. Rather, at this time, it is only on the seventh that we lift it up. How does one [do it]? One takes one branch or several branches besides that willow in the lulav. And one hits with it two or three times on the ground or on a vessel, without a blessing. For this thing is a custom of the prophets.