The following is taken from Mishnah Erubin:
4:1 A He whom gentiles took forth [beyond
the Sabbath limit],
B or an evil spirit,
C has only four cubits [in which to move
about].
D [If] they brought him back, it is as
if he never went out.
E [If] they carried him to another town,
F or put him into a cattle pen or a
cattlefold,
G Rabban Gamaliel and R. Eleazar b.
Azariah say, “He may walk about the entire area.”
H R. Joshua and R. Aqiba say, “He has
only four cubits [in which to move about].” (Jacob Neusner, The Mishnah : A New Translation [New
Haven: Yale University Press, 1988], 214)