And his words are not understood, for in the Gemara they said that one star is day, and perforce it is not from the stars seen by day, for it explains afterward: "and not large stars that are seen by day." And perforce it refers to medium ones, which are seen after the sunset and it is still day, and how did he rule that from the sunset it is bein hashemashot, and they have already wondered about him regarding this. (Ralbach in the commentary to Hilchot Kiddush HaChodesh chapter 2, see there) And furthermore, why did he omit that of three-quarters of a mil? And one cannot say that they disagree, for the Rif brought both statements, see there; learn from this that they do not disagree. And perhaps the Rambam intentionally wrote thus, because since this matter was handed over to the masses and to women and the common people, and who is he who knows how to calculate the measurements of three-quarters of a mil, or to distinguish between large, small, and medium stars? Therefore he took a definitive matter, which is that the sunset of the sun is recognized by everyone, and therefore immediately with the sunset—it is bein hashemashot, and they are forbidden from melacha, and three stars—is certainly night. And the practical difference is for one who wishes to recite Keriat Shema at night, or Kiddush and the like. And even though not everyone is expert in the stars—nevertheless there is no stumbling block in this. However, on the conclusion of Shabbat it is necessary to know the medium stars so as not to err with the large ones, and in the Yerushalmi, first chapter of Berachot, it is stated: that the three stars must be clustered, not scattered. This is the wording of the Yerushalmi: "provided that three stars are seen that appear as one star" see there, and therefore on the conclusion of Shabbat one must be careful with this sign. (This version was brought by the Ran, see there)
ודבריו אינם מובנים, שהרי בגמרא אמרו דכוכב אחד יום, ובעל כורחנו דאינו מן הכוכבים הנראים ביום, שהרי מפרש אחר כך: "ולא כוכבים גדולים הנראים ביום". ובעל כורחנו דאבינונים קאי, הנראים אחרי השקיעה ועדיין יום הוא, ואיך פסק שמהשקיעה הוי בין השמשות, וכבר תמהו עליו בזה. (רלב"ח בפירוש להלכות קידוש החודש פרק ב' ע"ש) ועוד, למה השמיט הך דג' רבעי מיל ואין לומר דפליגי, והרי הרי"ף הביא שני המימרות ע"ש, שמע מינה דלא פליגי. ואולי הרמב"ם בכוונה כתב כן, דמשום דדבר זה נמסר לרבים ולנשים ועמי הארץ, ומי הוא היודע לכוין שיעורי מדות דג' רבעי מיל, או להפריש בין כוכבים גדולים וקטנים ובינונים. לכן נקיט מילתא דפסיקא, והיינו דשקיעת החמה הכל מכירין בזה, ולכן תיכף עם השקיעה - הוי בין השמשות, ואסורים במלאכה, וג' כוכבים - הוי וודאי לילה. ונפקא מינה למי שירצה לקרות קריאת שמע בלילה, או קידוש וכיוצא בזה. ואף שלא כולם בקיאים בהכוכבים - מכל מקום אין מכשול בזה. אמנם במוצאי שבת בהכרח לדעת הכוכבים הבינונים לבלי לטעות בהגדולים, ובירושלמי פרק קמא דברכות איתא: דהג' כוכבים צריכים להיות מקובצים לא מפוזרים. וזה לשון הירושלמי: "ובלבד דיתחמיין תלתא כוכבים דדמיין כחדא כוכבתא" ע"ש, ולכן במוצאי שבת יש ליזהר בסימן הזה. (גירסא זו הביא הר"ן ע"ש)