עֲרָבָה שִׁבְעָה כֵּיצַד, יוֹם שְׁבִיעִי שֶׁל עֲרָבָה שֶׁחָל לִהְיוֹת בְּשַׁבָּת, עֲרָבָה שִׁבְעָה, וּשְׁאָר כָּל הַיָּמִים שִׁשָּׁה:
Aravah — seven. How so? If the seventh day of aravah fell out on Shabbath, aravah — seven. All the other days, six. [The sages made a distinct sign to show that aravah is Torah ordained, i.e., a halachah to Moses on Sinai. In keeping with this, they instituted that on the seventh day, in the Temple, aravah override Sabbath (for they would circle the altar with the aravah.) And today, it is only a custom of the prophets, who had the people take the aravah on the seventh day (Hoshanah Rabbah) aside from the aravah in the lulav (and no blessing is made over it.)]
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.