סימן קג סעיף יב
חַיָּב כָּל אָדָם לְהַשְׁגִיחַ עַל בְּנֵי בֵּיתוֹ, שֶׁלֹּא יְטַיְלוּ בְּמָקוֹם שֶׁיָּבֹאוּ חַס וְשָׁלוֹם לִידֵי קַלּוּת רֹאשׁ בְּהִתְעָרְבָם עִם קַלֵּי הַדַּעַת, רַק יִהְיוּ קְדוֹשִׁים כִּי קָדוֹשׁ הַיּוֹם (תקכ"ט).
Every man is obligated to prevent22When Beis Din (Jewish courts) were empowered, it was their duty to dispatch officers to patrol and prevent the gathering of men and women for social eating and drinking etc. (Rambam, Shulchan Aruch 529:4) the members of his household from congregating in places which, Heaven forbid, could lead to levity, through association with lightheaded people. They should be encouraged to be holy because the day is holy.
תנא דבי אליהו כל השונה הלכות בכל יום מובטח לו שהוא בן העולם הבא שנאמר הליכות עולם לו אל תקרי הליכות אלא הלכות (נדה ע"ג.)