The Rambam, of blessed memory, in chapter 3 of Sanhedrin, wrote: We do not begin legal proceedings at night. From the oral tradition they learned that legal proceedings are like nega’im, as it is said, "Every dispute and every nega." Just as the viewing of nega’im is by day only, so too legal proceedings are by day only. And so too we do not receive testimony and we do not validate documents at night. And in monetary laws, if they began by day, it is permitted to finish the judgment at night. And inheritances are like legal proceedings, as it is said regarding them, "a statute of judgment"; therefore, we do not distribute inheritances at night. Two who entered to visit a sick person and he gave instructions in their presence, they write it down but do not perform a legal act. And if there were three, if they wish they write it down, and if they wish they perform a legal act. When does this apply? By day. But at night, they write it down and do not perform a legal act. Thus far his words.
And it appears to me that his explanation is that this is the meaning: that all laws of inheritance are Torah law and not a gift, even though it is his money. Therefore, he cannot give in the language of inheritance to one who is not his heir, as is written in chapter 6 of Nachalot. And the reason is because it is written, "a statute of judgment." And even if he comes to increase for one of the heirs or to diminish, for which the Torah gave him permission as is written there and as will be explained in siman 281, nevertheless, this too is a legal proceeding, and one must conduct oneself in this as in all legal proceedings, which require a beit din and must be by day and not by night. Therefore, those who entered to visit the sick person, if he does not increase or diminish for one of the heirs, there is no need for his instructions at all. And so too if he gives some gift, whether a gift of a healthy person or a gift of a shekhiv mera, this is not a matter of inheritances; and even though a gift of a shekhiv mera is like an inheritance, this is rabbinic [Bava Batra 149a]. And according to the Rambam, the entire essence of a gift of a shekhiv mera is only rabbinic, as he wrote in chapter 8 of Zekhiya. And this law applies only when he increased or diminished for the heirs. Therefore, the Rambam did not write this law in the laws of a gift of a shekhiv mera as the Tur and Shulchan Arukh wrote in siman 253, but rather wrote them in the laws of judges and inheritances [and he does not interpret like the Rashbam and Tosafot, Bava Batra 113b; and see Rashi, Sanhedrin 34b; and delve into this].
And that which he wrote, that we learned legal proceedings from nega’im, even though in the Gemara [ibid. and Niddah 50a] it is explained that only Rabbi Meir expounds it and the sages disagree with him, and the halacha is like the sages, as the Rambam himself wrote in the Commentary on the Mishnah in Niddah and in the laws of the uncleanness of tzara’at chapter 9, that a person does not view his own nega’im but views the nega’im of his relatives, not like Rabbi Meir in chapter 2 of Nega’im who equates nega’im to legal proceedings. And in the Gemara Sanhedrin there, Rava said that we learn legal proceedings from "and it shall be on the day he causes his sons to inherit." The Rambam, of blessed memory, holds that according to the conclusion there, that it refers to the law of inheritances and the entire passage was weakened to be a legal proceeding, it must be that we have a derivation even according to the sages that legal proceedings are only by day. And even according to the sages, one must say that we learned the beginning of a legal proceeding from nega’im, and whether it is capital laws or monetary laws, we learned from there. And only for the conclusion of the judgment in monetary matters did we learn from the verse "and they shall judge," that they may finish even at night. And automatically, when the Torah wrote regarding inheritances "a statute of judgment," we learned that inheritances are also only by day. Therefore, he ruled that one blind in both eyes is disqualified because we learned from nega’im, and in one eye he is fit, which is like the conclusion of the judgment [not like Tosafot, Niddah ibid.]. And so too in nega’im, for himself he is disqualified as the law, and for his relatives he is fit, because we do not equate them to each other entirely, like the conclusion of the judgment [and Rava there held like the plain meaning of the Baraita of "and it shall be on the day," but according to that which it rejected, "you are speaking of the law of inheritances," it is not so. And as for what they questioned, "there is no partial juxtaposition," I am wonderstruck, for even according to Rabbi Meir they are not equated for all matters, as nega’im do not require a beit din as is explained there and in Yevamot 104a. This is the meaning: "Let us say etc." that one master holds we equate even for the conclusion of the judgment and one master holds we do not equate for the conclusion of the judgment but only for the beginning of the legal proceeding. And it rejected it, that everyone holds that if it is from nega’im, even the conclusion of the judgment would not be, and they disagree whether it is like the beginning of the legal proceeding or the conclusion of the judgment. And it is a mere rejection according to Rava, and perforce one must say so, for if not so, there is no explanation for what he said, "that if we equate even the conclusion of the judgment etc." for it does not deal with this at all. And with this, all that the commentators questioned on the Rambam is settled; and delve into this].
והרמב"ם ז"ל בפ"ג מסנהד' כתב אין מתחילין את הדינין בלילה מפי השמועה למדו שהדינים כנגעים שנא' כל ריב וכל נגע מה ראיית נגעים ביום בלבד אף הדינים ביום בלבד וכן אין מקבלין עדות ואין מקיימין שטרות בלילה ובדיני ממונות אם התחילו ביום מותר לגמור הדין בלילה והנחלות כדינים שנאמר בהם לחוקת משפט לפיכך אין מפילין נחלות בלילה שנים שנכנסו לבקר את החולה וצוה בפניהם כותבין ואין עושין דין ואם היו שלשה רצו כותבין רצו עושין דין בד"א ביום אבל בלילה כותבין ואין עושין דין עכ"ל ויראה לי ביאורו דה"פ דכל דיני ירושה הוה דין תורה ולא מתנה אע"פ שממון שלו הוא ולכן אינו יכול ליתן בלשון ירושה למי שאינו יורשו כמ"ש בפ"ו מנחלות והטעם מפני דכתיב לחוקת משפט ואף אם בא לרבות לאחד מהיורשים או למעט דעל זה נתנה לו התורה רשות כמ"ש שם וכמו שיתבאר בסי' רפ"א מ"מ גם זהו דין הוא ויש לנהוג בזה כבכל הדינים שצריך ב"ד ושיהיה ביום ולא בלילה ולכן אלו שנכנסו לבקר את החולה אם אינו מרבה או ממעט לאחד מהיורשין א"צ לצוואתו כלל וכן אם נותן איזה מתנה בין מתנת בריא בין מתנת שכ"מ אין זה ענין לנחלות ואע"ג דמתנת שכ"מ הוי כירושה זהו מדרבנן [ב"ב קמ"ט.] ולהרמב"ם כל עיקר מתנת שכ"מ אינה אלא מדרבנן כמ"ש בפ"ח מזכייה ואין דין זה רק כשריבה ומיעט להיורשין ולכן לא כתב הרמב"ם דין זה במתנת שכ"מ כמו שכתבו הטוש"ע בסי' רנ"ג אלא כתבן בהל' דיינים ונחלות [ואינו מפרש כרשב"ם ותוס' ב"ב קי"ג: ועיי' רש"י סנה' ל"ד: ודו"ק] וזה שכתב דלמדנו דינים מנגעים אע"ג דבגמרא [שם ונדה נ'.] מבואר דרק ר"מ דריש לה ורבנן פליגי עליו והלכה כרבנן כמ"ש הרמב"ם עצמו בפי' המשנה דנדה ובהל' טומאות צרעת פ"ט דאין אדם רואה נגעי עצמו ורואה נגעי קרוביו דלא כר"מ בפ"ב דנגעים דמקיש נגעים לדינים ובגמ' סנהדרין שם אמר רבא דילפינן לדינים מוהיה ביום הנחילו ס"ל להרמב"ם ז"ל דלפי המסקנא שם דדין נחלות קאמר ואורעה כל הפרשה להיות דין בהכרח להיות לנו לימוד גם לרבנן דדינים אינם אלא ביום וגם לרבנן צ"ל דלמדנו לתחלת דין מנגעים ובין ד"נ ובין ד"מ למדנו משם ורק לגמר דין דממון למדנו מקרא דושפטו דגומרין אפילו בלילה וממילא כשכתבה התורה בנחלות לחוקת משפט למדנו דנחלות אינם ג"כ רק ביום ולכן פסק דסומא בשתי עיניו פסול משום דלמדנו מנגעים ובעין אחת כשר דהוה כמו גמר דין [דלא כתוס' נדה שם] וכן בנגעים לעצמו פסול כדין ולקרוביו כשר משום דלגמרי לא מקשינן זל"ז כמו גמ"ד [ורבא שם הוה ס"ל כפשטא דברייתא דוהיה ביום אבל למאי דדחי לה דין נחלות קאמרת אינו כן ומה שהקשו אין היקש למחצה תמיהני דהא גם לר"מ לא לכל מילי איתקש דנגעים א"צ ב"ד כמבואר שם וביבמות ק"ד. ה"פ לימא וכו' דמ"ס מקשינן אפילו לגמ"ד ומ"ס לא מקשינן לגמ"ד רק לתחלת דין ודחי לה דכ"ע סברי דאי מנגעים אפילו גמ"ד נמי לא ופליגי אי הוה כתחלת דין או בגמ"ד ודיחויא בעלמא הוא ואליבא דרבא ובע"כ צ"ל כן דאל"כ אין שום פירוש למה שאמר דאי מקשינן אפילו גמ"ד וכו' דלא איירי בזה כלל ובזה מיושב כל מה שהקשו המפרשים על הרמב"ם ודו"ק]: