וְשָׂמַחְתָּ֖ בְּחַגֶּ֑ךָ אַתָּ֨ה וּבִנְךָ֤ וּבִתֶּ֙ךָ֙ וְעַבְדְּךָ֣ וַאֲמָתֶ֔ךָ וְהַלֵּוִ֗י וְהַגֵּ֛ר וְהַיָּת֥וֹם וְהָאַלְמָנָ֖ה אֲשֶׁ֥ר בִּשְׁעָרֶֽיךָ׃
Bersukacitalah pada hari rayamu itu, engkau, anakmu laki-laki, anakmu perempuan, hambamu laki-laki, hambamu perempuan, serta orang Lewi, orang asing, anak yatim, dan janda yang ada di dalam kotamu.
Mishneh Torah, Prayer and the Priestly Blessing
"Thou hast made known unto us the judgments of Thy righteousness, and hast taught us to perform the statutes of Thy will. Thou hast given us, O Lord our God, the holiness of the Sabbath and the glory of the appointed time, and the celebration of the festival. Thou hast made a distinction between the holiness of the Sabbath and that of the feast, and hast hallowed the great and holy seventh day. Thou hast given us, O Lord our God, appointed times for gladness and seasons for joy,…" At the close of the Sabbath or festivals throughout the year, the Habdalah (paragraph referring to the distinction between the profane and holy), is recited in the fourth blessing, "Thou favourest man with knowledge …", although the Habdalah is afterwards also said over the cup of wine.
Mishneh Torah, Rest
The seven days of Passover and the eight days of Sukkot along with the other holidays are all forbidden for eulogizing and fasting. And one is obligated to be joyful and of a good heart on them—he, his children, his wife, the members of his household and all who accompany him. As it is stated (Deuteronomy 16:14), "And you shall rejoice in your holiday, etc." Even though the joy that is mentioned here is [referring to] peace offerings—as we explain in the Laws of the Festival Offering—included in that joy is for him, his children and the members of his household to rejoice—everyone according to what is fit for him.
Mishneh Torah, Rest
The children, for example, should be given parched grain, nuts, and sweetmeats; the womenfolk should be presented with pretty clothes and trinkets according to one's means; the menfolk should eat meat and drink wine, for there is no real rejoicing without the use of meat and wine. While eating and drinking, one must feed the stranger, the orphan, the widow, and other poor unfortunates. Anyone, however, who locks the doors of his courtyard and eats and drinks along with his wife and children, without giving anything to eat and drink to the poor and the desperate, does not observe a religious celebration but indulges in the celebration of his stomach. And about such is it stated (Hosea 9:4), "their sacrifices are like the bread of mourners, all who eat it will be contaminated; for their bread is for their own appetites." Such joy is a disgrace for them, as it is stated (Malakhi 2:3), "I will spread dung on your faces, the dung of your festivals."