Mishnah — Seder Zeraim, Tractate BerakhotChapter 2…
“ These are the words of Rabbi Meir. Rabbi Yehuda says: In the middle, one may greet out of fear and return a greeting out of honor, And at the breaks, one may greet out of honor and return a greeting to any person. ”
