Reference for Eruvin 136:18
אמר מר הוציאו מה שאתם מוציאין והכניסו מה שאתם מכניסין עד שלא יוציא התועב הזה ויאסר עליכם למימרא דכי מפקי אינהו והדר מפיק איהו לא אסר
BEFORE HE CARRIES OUT HIS<span class="x" onmousemove="('comment',' And re-acquires his right to his share.');"><sup>54</sup></span> AND THEREBY IMPOSES RESTRICTIONS UPON YOU'. And so<span class="x" onmousemove="('comment',' That, as has just been explained, the Rabbis differ from R. Gamaliel in the case of a Sadducee.');"><sup>55</sup></span> it was also taught: If a man lives [in the same alley] with a gentile, a Sadducee or a Boethusian, these impose restrictions upon him;<span class="x" onmousemove="('comment',' In his use of the alley on the Sabbath. Cur. edd. in parenthesis, 'R. Gamaliel ruled: A Sadducee and a Boethusian impose no restrictions'.');"><sup>56</sup></span> and it once happened that a Sadducee lived with R'Gamaliel in the same alley in Jerusalem, and R'Gamaliel said to his sons, 'Hasten my sons and carry<span class="x" onmousemove="('comment',' As soon as the Sabbath begins.');"><sup>52</sup></span> Out what you desire to carry Out<span class="x" onmousemove="('comment',' During the Sabbath. uthmuvu');"><sup>57</sup></span> or<span class="x" onmousemove="('comment',' So Tosaf. s.v. a.l.');"><sup>58</sup></span> take in<span class="x" onmousemove="('comment',' As soon as the Sabbath begins.');"><sup>52</sup></span> what you desire to take in,<span class="x" onmousemove="('comment',' During the Sabbath. uthmuvu');"><sup>57</sup></span> before this abomination carries out his articles and thereby imposes restrictions upon you, since [at that moment] he renounced his share in your favour'; So R'Meir. R'Judah related, [The instruction was given] in a different form: 'Hasten and attend to your requirements in the alley before nightfall when he would impose restrictions upon you'.<span class="x" onmousemove="('comment',' In his opinion R. Gamaliel regards a Sadducee as a gentile and no renunciation of his is valid.');"><sup>59</sup></span> The Master said, 'Carry out what you desire to carry out or bring in what you desire to bring in, before this abomination imposes restrictions upon you'. This then implies that<span class="x" onmousemove="('comment',' According to R. Meir.');"><sup>60</sup></span> if they carried out their objects first and then he carried out his he imposes no restrictions upon them'.