Bava Basra6: 6
מִי שֶׁיֶּשׁ לוֹ גִנָּה לִפְנִים מִגִּנָּתוֹ שֶׁל חֲבֵרוֹ — נִכְנָס בְּשָׁעָה שֶׁדֶּרֶךְ בְּנֵי אָדָם נִכְנָסִים וְיוֹצֵא בְּשָׁעָה שֶׁדֶּרֶךְ בְּנֵי אָדָם יוֹצְאִין. וְאֵינוֹ מַכְנִיס לְתוֹכָהּ תַּגָּרִין; וְלֹא יִכָּנֵס מִתּוֹכָהּ לְתוֹךְ שָׂדֶה אַחֶרֶת; וְהַחִיצוֹן זוֹרֵעַ אֶת הַדֶּרֶךְ.  נָתְנוּ לוֹ דֶרֶךְ מִן הַצַּד מִדַּעַת שְׁנֵיהֶם — נִכְנָס בְּשָׁעָה שֶׁהוּא רוֹצֶה וְיוֹצֵא בְּשָׁעָה שֶׁהוּא רוֹצֶה, וּמַכְנִיס לְתוֹכָהּ תַּגָּרִין. וְלֹא יִכָּנֵס מִתּוֹכָהּ לְתוֹךְ שָׂדֶה אַחֶרֶת, וְזֶה וָזֶה אֵינָם רַשָּׁאִים לְזָרְעָהּ.
One who owns a garden behind the garden of another enters when people ordinarily enter and leaves when people ordinarily leave. He may not bring merchants into it; nor may he enter from it into another field; and the [owner of the] outer [one] may plant the path.  [If] they assigned him a path on the side by mutual consent, he may enter whenever he wishes and leave whenever he wishes, and he may bring merchants into it. However, he may not enter from it into another field, and nei-ther is permitted to plant it.