Reference for Shabbat 107:12
לא עקוד ולא רגול: א"ר יהודה עקוד עקידת יד ורגל כיצחק בן אברהם רגול שלא יכוף ידו על גבי זרועו ויקשור
AND GOATS MAY BE LED OUT [WITH THEIR UDDERS] TIED UP. It was stated: Rab said: The <i>halachah</i> is as R. Judah; while Samuel said: The <i>halachah</i> is as R. Jose. Others learn this controversy independently. Rab said: If it is in order to go dry, it is permitted. but if it is for milking it is forbidden; while Samuel said: Both are forbidden. Others learn it in reference to the following: Goats may go out [with their udders] tied up in order to go dry, but not for milking. On the authority of R. Judah b. Bathyra it was said: That is the <i>halachah</i>; but who can vouch<span class="x" onmousemove="('comment',' Lit., 'cast lots'. ');"><sup>10</sup></span>