It is narrated from Hazrat Abu Huraira (may Allah be pleased with him) that the Noble Prophet (peace and blessings be upon him) said: No person should prevent his neighbor from placing wood (or a beam) on his wall.
Hadith Referenceمسند احمد / مسند المكثرين من الصحابة / 7154