ספר המדות Distancing the Wicked / Part II · ג
Sefer HaMiddot 2321
ג. צָרִיךְ אָדָם לִשְׁמר אֶת עַצְמוֹ, מִלְּנַשֵּׁק אֶת עַצְמוֹ עִם רְשָׁעִים, כִּי עַל יְדֵי הַנְּשִׁיקָה נַעֲשֲׂה בֵּינֵיהֶם הִתְקַשְּׁרוּת גַּם לְאַחַר מִיתָה.
3. A man needs to guard himself from kissing evildoers, for the kiss creates a bond between them even after death.