Sahih al-Bukhari, Book 46, Hadith 34 (Bukhari 2377)

Narrated Abu Huraira:

The Prophet (ﷺ) judged that seven cubits should be left as a public way when there was a dispute about the land.