"And the Lord spoke to Moses, saying, 34 “Speak to the people of Israel, saying, On the fifteenth day of this seventh month and for seven days is the Feast of Booths to the Lord. 35 On the first day shall be a holy convocation; you shall not do any ordinary work. 36 For seven days you shall present food offerings to the Lord. On the eighth day you shall hold a holy convocation and present a food offering to the Lord. It is a solemn assembly; you shall not do any ordinary work.
37 “These are the appointed feasts of the Lord, which you shall proclaim as times of holy convocation, for presenting to the Lord food offerings, burnt offerings and grain offerings, sacrifices and drink offerings, each on its proper day, 38 besides the Lord's Sabbaths and besides your gifts and besides all your vow offerings and besides all your freewill offerings, which you give to the Lord.
39 “On the fifteenth day of the seventh month, when you have gathered in the produce of the land, you shall celebrate the feast of the Lord seven days. On the first day shall be a solemn rest, and on the eighth day shall be a solemn rest. 40 And you shall take on the first day the fruit of splendid trees, branches of palm trees and boughs of leafy trees and willows of the brook, and you shall rejoice before the Lord your God seven days. 41 You shall celebrate it as a feast to the Lord for seven days in the year. It is a statute forever throughout your generations; you shall celebrate it in the seventh month. 42 You shall dwell in booths for seven days. All native Israelites shall dwell in booths, 43 that your generations may know that I made the people of Israel dwell in booths when I brought them out of the land of Egypt: I am the Lord your God.”
(Leviticus 23:33-43, ESV)