And so, if Reuven contests Shimon regarding the land between his house and Shimon's house, claiming that Shimon stole it from him, and afterwards Shimon erected a wall between himself and Reuven and Reuven assisted him in its erection, he can no longer contest it, and Shimon acquires a chazakah immediately even before three years. And even if there are no witnesses to this but only the admission of Reuven, it is a complete admission that the land belongs to Shimon, for if it were not so, he would not have assisted him in erecting a wall there. And so, even if there was no contest between them at all, and even if the wall between them stood on the boundary line and the wall between them fell and Shimon built the wall and brought it into Reuven's border, and Reuven assisted him in its building and Reuven knew that Shimon brought it into his own, it is a chazakah immediately, and we say that he waived the land to him, for if it were not so, he would not have assisted him. And not only that, but even if Shimon himself did not know and did not sense at all that he brought it into Reuven's border, nevertheless, since Reuven knew and assisted him, Shimon acquires it immediately by reason of mechilah. And even though he did not intend to acquire it, he acquires it, for only regarding the property of a convert do we require intention to acquire, as I wrote in siman 275, but in a place where there is another mind that transfers it to him, one does not require intention [Nimukei Yosef, chapter 3 of Bava Batra]. And specifically when Reuven admits that he knew that he brought it into his own; but if he says that he erred and did not sense it because he did not recognize the place where the wall stood, if Shimon also says that he did not sense it, Reuven is believed without an oath [it appears to me], for since Shimon also says that it was in error, why should we not believe Reuven? And mechilah in error is not mechilah, even if many years passed and he did not remove it, since it is known that its initial standing was in error. But if Shimon says that both of them knew of this and Reuven gave it to him as a gift or that he purchased it from him, if there are witnesses that he assisted in its building, Shimon is believed with a shevuat hesset that he sold it or gave it to him, and he acquires it immediately and does not need a chazakah of three years. And if there are no witnesses but Reuven admits on his own that he assisted him and that it was in error, Reuven is believed with a shevuat hesset before three years [it appears to me]. And so, if Reuven did not assist at all in the building of the wall, even though he knew that Shimon brought it into his own, Shimon does not have a chazakah before three years. And if Shimon claims that Reuven sold it to him or gave it to him and Reuven denies it, Reuven swears a shevuat hesset and restores the wall to its original place, since it is still before the years of chazakah. And this is specifically regarding the building of a wall, but regarding the opening of a window into the courtyard of his fellow, such as where Shimon opened a window into the courtyard of Reuven, according to the opinion of the Rambam, of blessed memory, since Reuven knew of the opening of the window and did not protest immediately, even if he did not assist him in its opening [Shach], he cannot return and contest it, for regarding damage of sight there is a chazakah immediately. For specifically regarding a wall, it is something he can tolerate and he thinks in his heart: "I will not let him acquire it and I will restore it to its original place," and therefore when he did not assist him, he requires the years of chazakah; but regarding damage of sight, no man can tolerate it, and since he was silent, he certainly waived it. And there are some of our teachers who disagree on this and hold that, on the contrary, regarding a window, even if he assisted him in its opening, he has no chazakah, for specifically regarding the erection of a wall where he encroached upon his land boundary, it is not the way of the world to assist him in this; but regarding the opening of a window where he did not encroach upon his boundary, it can be said that he does not care what he does now in his own property, and he relies on the fact that whenever he wishes, he will block the window for him. And the principles of these laws will be explained in siman 154 with the help of Heaven.
וכן אם ראובן מערער על שמעון על הקרקע שבין ביתו לביתו של שמעון ששמעון גזלה ממנו ואח"כ העמיד שמעון כותל בינו לבין ראובן וראובן סייעו בהעמדתה אין ביכולתו שוב לערער והחזיק שמעון מיד אף קודם ג' שנה ואפילו אין עדים על זה אלא הודאת ראובן הוה הודאה גמורה שהקרקע היא של שמעון דאל"כ לא היה מסייעו להעמיד כותל שמה וכן אפילו אם לא היה שום עירעור ביניהם ואפילו עמד הכותל שבינם על המיצר ונפל הכותל שביניהם ובנה שמעון הכותל והכניסו לגבול ראובן וראובן סייעו בבניינו וידע ראובן ששמעון הכניס לתוך שלו הוה חזקה מיד ואמרינן דמחל לו הקרקע דאל"כ לא היה מסייעו ולא עוד אלא אפילו אם שמעון בעצמו לא ידע ולא הרגיש כלל שהכניסו לגבול ראובן מ"מ כיון שראובן ידע וסייעו קנה שמעון מיד מטעם מחילה ואף שלא נתכוין לקנות קנה דרק בנכסי הגר בעינן כוונה לקנות כמ"ש בסי' ער"ה אבל במקום שיש דעת אחרת שמקנה לו לא בעי כוונה [נמק"י פ"ג דב"ב] ודווקא כשראובן מודה שידע שהכניס לתוך שלו אבל אם אומר שטעה ולא הרגיש שלא היה מכיר מקום שעמדה שם הכותל אם שמעון אומר ג"כ שלא הרגיש נאמן ראובן בלא שבועה [נ"ל] דכיון דשמעון אומר ג"כ שבטעות היתה למה לא נאמין לראובן ומחילה בטעות לא הוי מחילה אפילו עברו שנים הרבה ולא סילקה כיון שידוע שתחלת עמדתה בטעות היתה אבל אם שמעון אומר ששניהם ידעו מזה וראובן נתנה לו במתנה או שקנה ממנו אם יש עדים שסייעו בבניינו נאמן שמעון בהיסת שמכרה או נתנה לו וקנה מיד וא"צ חזקת ג' שנים ואם אין עדים אלא שראובן מודה מעצמו שסייעו ושהיתה בטעות נאמן ראובן בשבועת היסת קודם ג' שנים [נ"ל] וכן אם ראובן לא סייע כלל בבניין הכותל אע"פ שידע שהכניס שמעון לתוך שלו אין לשמעון חזקה קודם ג' שנים ואם שמעון טוען שראובן מכר לו או נתן לו וראובן מכחישו נשבע ראובן היסת ומעמיד הכותל על מקום הראשון כיון שהוא עדיין קודם שני חזקה וזהו דווקא בבניין כותל אבל בפתיחת חלון לחצר חבירו כגון ששמעון פתח חלון לחצירו של ראובן לדעת הרמב"ם ז"ל כיון שידע ראובן בפתיחת החלון ולא מיחה מיד אפילו לא סייעו בפתיחתה [ש"ך] אינו יכול לחזור ולערער דלהיזק ראיה יש חזקה מיד דדווקא בכותל יש שיכול לסבול ומחשב בלבו לא אניח לו להחזיק ואעמידנה על מקום הראשון ולכן כשלא סייעו צריך שני חזקה אבל בהיזק ראיה אין אדם שיכול לסבול ומדשתק וודאי דמחל ויש מרבותינו שחולקים בזה וס"ל דאדרבא בחלון אפילו סייעו בפתיחתה אין לו חזקה דדווקא בהעמדת כותל שהשיג גבול קרקעו אינו מדרך העולם לסייעו בזה אבל בפתיחת חלון שגבולו לא השיג י"ל דלא איכפת ליה מה שעושה עתה בשלו וסומך שכל זמן שירצה יסתום לו החלון ועיקרי דינים אלו יתבארו בסי' קנ"ד בס"ד: