Source: שבת ג: (Shabbos 3b) · Category: Rules of Life

The Gemara in שבת ג: (Shabbos 3b) tells how Rebbi Chiya said to Rav: “בר פחתי לא אמינא לך כי קאי רבי בהא מסכתא לא תשייליה במסכתא אחריתי” (“Son of nobles, have I not told you that when Rebbi is involved in one masechta, do not ask him questions about another masechta?”) Rebbi may answer incorrectly, because the other masechta isn’t fresh in his mind. And if not for the fact that Rebbi was a great man, you might have caused him embarrassment, since he would have had to give you an answer that isn’t really an answer.

This is a rule for life. Interestingly, students in yeshiva (younger kids especially) often try to bring up things from other places to trip up the rebbi. So this is not a new phenomenon, but an age-old issue, and the Gemara instructs us not to do it. :)

Shabbos 3b