דברים פרק יד
(א) בָּנִים אַתֶּם לַיקֹוָק אֱלֹהֵיכֶם לֹא תִתְגֹּדְדוּ וְלֹא תָשִׂימוּ קָרְחָה בֵּין עֵינֵיכֶם לָמֵת:
Devarim 14:1
You are children of the Lord, your God. You shall neither cut yourselves nor make any baldness between your eyes for the dead.
יבמות יג:
אמר ליה ר"ל לר' יוחנן איקרי כאן (דברים יד) לא תתגודדו לא תעשו אגודות אגודות. א"ל עד כאן לא שנית מקום שנהגו לעשות מלאכה בערבי פסחים עד חצות עושין מקום שנהגו שלא לעשות אין עושין
Yebamot 13b
Reish Lakish said to R’Yochanan: Read the verse “Lo Titgodedu”, which means do not form separate groups... He replied to Reish Lakish: We learned in a Mishna “In a place where people have the custom to do work on the day before Pesach until midday, one may do work. But in a place where they have the custom not to do work, then they may not”
רמב"ם הלכות עבודת כוכבים פרק יב הלכה יד
ובכלל אזהרה זה שלא יהיו שני בתי דינין בעיר אחת זה נוהג כמנהג זה וזה נוהג כמנהג אחר, שדבר זה גורם למחלוקות גדולות שנאמר לא תתגודדו לא תעשו אגודות אגודות.
Rambam Hilchot Avodat Kochavim 12:14
This commandment also includes [a prohibition] against there being two courts which follow different customs in a single city, since this can cause great strife. [Because of the similarity in the Hebrew roots,] the prohibition against gashing ourselves [can be interpreted] to mean: "Do not separate into various different groupings."
