The 166th mitzvah is that we are commanded to refrain from doing melachah on the first640 day1 of Sukkos.

The source of this commandment is G‑d's statement,2 "The first day [of Sukkos] shall be a sacred holiday."