The Prophet (ﷺ) said: If you dispute over a pathway, leave the margin of seven yards.
Sunan Abi Dawud Book 25, Hadith 63