The Prophet (ﷺ) judged that seven cubits should be left as a public way when there was a dispute about the land.
Sahih al-Bukhari Book 46, Hadith 34