Responsa for Bava Batra 44:1
הבא לסמוך לא יסמוך אלא אם כן הרחיק ממנו ארבע אמות מתקיף לה רבא והא מי שהיה כותלו סמוך לכותל חבירו קתני
If a man wants to build a wall alongside of his neighbour's wall, he must not do so unless he keeps it [at least] four cubits away. Raba strongly objected to this, on the ground that it says. IF A MAN [ALREADY] HAS A WALL RUNNING ALONGSIDE OF HIS NEIGHBOUR'S WALL. No, said Raba: what it means is this: If a man had a wall running alongside of his neighbour's wall at a distance of four cubits and it falls down, he must not bring another wall alongside unless he keeps it four cubits away,<span class="x" onmousemove="('comment',' Tosaf. points out that this would imply that according to Raba the second wall must be four cubits away only if the first was also, which is incorrect. ');"><sup>1</sup></span>
Teshuvot Maharam
A. Those parts of the beams which extended into A's portion belonged to him exclusively, and he had a right to cut them off, especially since the intervening wall belonged to him. Although the act of sawing and chopping weakened B's and C's structures, since the extension of the beams into A's room served no useful purpose to B and C, and because of their unnecessary weight were even detrimental, A had a right to cut them off. In any event, B and C are not entitled to any compensation for their loss, now that the act has been done.
SOURCES: Am II, 198.
Teshuvot Maharam
A. B must remove his duct from A's wall for a distance of 3 tefahim (hand-breadths). If the water should, nevertheless, continue to flow into A's house, it is for A to protect his wall by whatever means he sees fit, but he can demand nothing of B.
SOURCES: Cr. 3, 4; Pr. 92; L. 357; Mord. B. B. 520.