It is narrated from Sayyiduna Abu Hurayrah (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "It is not permissible for a neighbour to prevent his neighbour from fixing wood in his wall."
This chain is sahih (authentic).
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الصلح / 11378