Bava Basra 21a: If a new children’s rebbe comes to town who can teach better than the current rebbe, we fire the current rebbe and replace him with the new one.
Rema Yoreh Deah 245:22: This is only true of a children’s rebbe, but if someone has a chazaka to be the rav of a town, and a greater rav moves in, we do not replace him.
בבא בתרא כא ע”א: ואמר רבא: האי מקרי ינוקי דגריס, ואיכא אחרינא דגריס טפי מיניה ־ לא מסלקינן ליה, דלמא אתי לאיתרשולי. רב דימי מנהרדעא אמר: כ״ש דגריס טפי, קנאת סופרים תרבה חכמה.
יו”ד רמ”ה, כב ברמ”א: מי שהוחזק לרב בעיר אפילו החזיק בעצמו באיזה שררה אין להורידו מגדולתו אע״פ שבא לשם אחר גדול ממנו (ריב״ש סימן רע״א).
In 1966, Harav Moshe Feinstein received a shailah from Yitzchak Pfizer, the president of Young Israel of Oceanside. The custom in that shul was that anyone getting an aliyah on Shabbos or Yom Tov morning would walk down from the bima, go to the rabbi’s seat and get a bracha of yasher koach from the rabbi. But there were a few people who didn’t like this custom and decided to go straight to their seats after their aliyah, because they didn’t approve of the rabbi or didn’t feel he was deserving of such an honor. The shul president asked Reb Moshe what to do about these individuals.
Reb Moshe responded that it is forbidden to discontinue such a custom without permission from the rabbi, and as long as the custom is in effect, no one may violate it. It’s like a monetary obligation that everyone in the kehilah has accepted upon themselves.
As proof, he brings the Yerushalmi at the end of Horayos (19b), cited by the Gra in his comment on Yoreh Deah 245:22 (number 37 in the Gra’s comments). The Yerushalmi says that there were two families, the family of Bar Hoshia and the family of Bar Pazi, who used to go and greet the Nasi every day. The Bar Hoshia family went in first because they were more respectable. Then the Bar Pazi family married into the Nasi’s family, and they felt that from now on, they should go first. They came and they asked Rav Ami what to do. Rav Ami replied based on a pasuk (Shemos 26:30), “And you shall erect the Mishkan according to its law.” Is there then a law for wood? – This means that a board that was placed on the north side should always be placed on the north side, and a board that was placed on the south side should always be placed on the south side. In the same way, the family who was accustomed to be the first to greet the Nasi retains that right as a chazaka.
This relates to the Rema in that same place, who says that when someone has a chazaka to be the rav of a town, the kehilah may not fire him (unless he was hired on contract for a specific amount of time), even if a greater rabbi comes to town. Rav Moshe viewed denial of a privilege to the rav as if it were a partial firing of the rav, taking away something that he has a chazaka to receive. Besides, even a regular local custom should not be violated, and certainly not this one, which involves respect for the rav and, by extension, respect for all talmidei chachomim and Torah learners.
Therefore, Reb Moshe ruled that those individuals who refused to comply with the custom are not allowed to receive an aliyah. He ended with his hopes that when everyone acts according to halacha, there should be peace in Oceanside.
Source: Igros Moshe YD 2:99
