It is narrated from Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both), who attributed it (marfu') to the Prophet (peace and blessings be upon him), that he (peace and blessings be upon him) said: "When you disagree about a road, make it seven cubits wide, and whoever is asked by his neighbour to let him rest (his wood or beam) on his wall, let him allow him to do so."
Related hadith on this topic