Ikrimah bin Salamah (may Allah have mercy on him) said that two brothers from Banu al-Mughirah met Mujammi' bin Yazid al-Ansari (may Allah be pleased with him), and he said: I bear witness that the Messenger of Allah (peace and blessings be upon him) commanded that "a neighbour should not prevent his neighbour from fixing wood (in his wall)." The one who had sworn an oath said: I know that the judgement has been given in your favour, and I have sworn an oath; so set up a pillar apart from my wall. So the other one fixed his wood in the pillar. Amr bin Dinar (may Allah have mercy on him) said: I saw this myself.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الصلح / 11382