Commentary for Shabbat 61:7
שוב מעשה בנכרי אחד שהיה עובר אחורי בית המדרש ושמע קול סופר שהיה אומר (שמות כח, ד) ואלה הבגדים אשר יעשו חושן ואפוד אמר הללו למי אמרו לו לכהן גדול אמר אותו נכרי בעצמו אלך ואתגייר בשביל שישימוני כהן גדול בא לפני שמאי אמר ליה גיירני על מנת שתשימני כהן גדול דחפו באמת הבנין שבידו בא לפני הלל גייריה
On another occasion it happened that a certain heathen came before Shammai and said to him, 'Make me a proselyte, on condition that you teach me the whole Torah while I stand on one foot.' Thereupon he repulsed him with the builder's cubit which was in his hand.<span class="x" onmousemove="('comment',' Rashi: a cubit to measure off the amount of work done by a builder. ');"><sup>12</sup></span> When he went before Hillel, he said to him, 'What is hateful to you, do not to your neighbour:<span class="x" onmousemove="('comment',' The golden Rule; cf. Lev. XIX, 18: but thou shalt love thy neighbour as thyself.- V. Hertz, Leviticus, pp. 22 or 223, and cf. R. T. Herford, Talmud and Apocrypha, p. 148. ');"><sup>13</sup></span>