Reference for Berakhot 73:14
ומעשה ברבן גמליאל והזקנים שהיו מסובין בעלייה ביריחו והביאו לפניהם כותבות ואכלו ונתן רבן גמליאל רשות לר' עקיבא לברך קפץ וברך רבי עקיבא ברכה אחת מעין שלש אמר ליה רבן גמליאל עקיבא עד מתי אתה מכניס ראשך בין המחלוקת א"ל רבינו אע"פ שאתה אומר כן וחבריך אומרים כן למדתנו רבינו יחיד ורבים הלכה כרבים
It once happened that Rabban Gamaliel and the Elders were reclining in an upper chamber in Jericho ; dates were set before them and they ate. Rabban Gamaliel gave permission to R. 'Akiba to say Grace. R. 'Akiba sat up and said one benediction which is an abstract of three. Rabban Gamaliel said to him, "'Akiba, how long wilt thou put thy head between strife!" He replied, "Our master ! Although thou sayest thus and thy colleagues say otherwise, thou hast taught us, our master, that where the individual and the many differ, the Halakah is in accord with the view of the many ! "