Reference for Pesachim 126:7
אמרי לעולם בעל בסמוך קא מיפלגי וצריכא דאי איפליגו לענין חמץ הוה אמינא בההוא הוא דקאמר רבי יוחנן דלא בעינן על בסמוך משום דאיסור הוא וכל היכא דאיתיה איתיה
For if they differed on the subject of leaven [alone], I would say: It is only there that R'Johanan maintains that we do not require 'with' [in the sense of] near, because it is a prohibited article, and wherever it is, it is;but in the matter o sanctifying the bread,it is not sanctified save within [the Temple Court], [hence] I would assume [that] he agrees with R'Simeon B'Lakish, that if it is inside it is sanctified, and if not, it is not sanctified, by ana with service vessels.<span class="x" onmousemove="('comment',' These sanctify whatever is put into them, but only when they are in the Temple Court (Tosaf.) .');"><sup>11</sup></span> Thus this [latter case] is necessary. And if we were informed [of this] in the matter of sanctifying the bread, I would say: in this R'Simeon B'Lakish maintains that we require 'with' [in the sense of] near, so that if it is inside it is sanctified, [and] if not, It is not sanctified.