Avot3: 10
] הוּא הָיָה אוֹמֵר: כֹּל שֶׁרוּחַ הַבְּרִיּוֹת נוֹחָה הֵימֶנּוּ — רוּחַ הַמָּקוֹם נוֹחָה הֵימֶנּוּ, וְכֹל שֶׁאֵין רוּחַ הַבְּרִיּוֹת נוֹחָה הֵימֶנּוּ — אֵין רוּחַ הַמָּקוֹם נוֹחָה הֵימֶנּוּ.  רַבִּי דוֹסָא בֶן הַרְכִּינָס אוֹמֵר: שֵׁנָה שֶׁל שַׁחֲרִית, וְיַיִן שֶׁל צָהֳרַיִם, וְשִׂיחַת הַיְלָדִים, וִישִׁיבַת בָּתֵּי כְנֵסִיּוֹת שֶׁל עַמֵּי הָאָרֶץ — מוֹצִיאִין אֶת הָאָדָם מִן הָעוֹלָם.
He used to say: Anyone with whom the spirit of his fellows is pleased, the spirit of the Omnipresent is pleased with him. And anyone with whom the spirit of his fellows is not pleased, the spirit of the Omnipresent is not pleased with him.  R' Dosa ben Harkinas says: Morning sleep, midday wine, children's chatter, and sitting at gatherings of the ignorant remove a person from the world.