Ikrimah bin Salamah says that two brothers from Banu Mughira came to meet Sayyiduna Majma’ bin Yazid. (One of them swore that if the other placed a beam on his wall, his slave would be set free.) Sayyiduna Majma’ said, “I bear witness that the Prophet (peace and blessings be upon him) said: ‘No neighbor should place a beam on his neighbor’s wall.’” Upon hearing this, the one who had sworn said, “Brother, now I know that the decision of the Shariah is in your favor, and I have also taken an oath. Now, if you place a beam on my wall, I will have to set my slave free. You may build a pillar behind my wall.” So the other did exactly that and placed his beam on that pillar.
Hadith Referenceمسند احمد / مسند المكيين / 15939
Hadith Gradingحکم دارالسلام:صحيح لغيره، وهذا إسناد ضعيف، راجع ما قبله