One who hears a "near report" on Shabbat—he practices matters of privacy on it. And the Shabbat counts for him as one day, and on the conclusion of Shabbat he rends his garment, and the following Friday becomes the seventh day of mourning. And the Tur wrote in the name of Rabbi Yechiel that at the beginning of the seven days, Shabbat does not count toward the number, but rather he begins from Sunday and the following Shabbat becomes the seventh day of mourning. However, our teacher, the Beit Yosef, in section 3 (Shulchan Aruch Yoreh Deah 402:3) ruled according to the first opinion, for such is the primary law. For it is the same to me if Shabbat is at the beginning as if Shabbat is in the middle or at the end. Furthermore, even if he heard a "near report" on Shabbat on the eve of a festival, since he practices matters of privacy—that Shabbat counts for him as a portion of mourning, and subsequently the festival nullifies the decree of seven days from him, as I wrote in siman 399. And it has already been explained in section 1 that we count thirty days regarding a "near" or "distant" report from the day of burial and not from the day of death. And there is one who wishes to say that specifically those who were present at the time of death and burial count from the day of burial, for that was the closing of the grave, and the mourning then devolved upon them. But those who were not present at the time of the event—they count from the day of death, for the day of death is the primary factor (Taz subsection 6, and Shach subsection 1 in the name of the Rashal). And the great authorities disagreed with them (the Be'er Heitev and the Shach himself in the Nekudot HaKesef). And so it is explicitly stated in our teacher Yerucham, and this is his wording: A "distant report" is called such when he heard it after thirty days from his burial. Thus far his words. And so wrote the Mordechai and the Rosh (siman 103) regarding an incident that occurred in Mainz, see there. And so it is clear from the words of the Rambam at the beginning of the seventh chapter (Rambam, Laws of Mourning 7) who wrote: The general rule of the matter: the day of his "near report" is like the day of burial. Thus far his words. Learn from this that the report is measured from the burial. And so too in Zevachim (Zevachim 100b): The day of report is like the day of burial, see there.
השומע שמועה קרובה בשבת – נוהג בו דברים שבצינעא. והשבת עולה לו ליום אחד, ובמוצאי שבת קורע, והוה ליה יום ששי – שביעי לאבלות. והטור כתב בשם הר' יחיאל דבתחילת השבעה אין השבת עולה למניין, אלא יתחיל מיום ראשון והוה ליה שבת שביעי לאבלות. אבל רבינו הבית יוסף בסעיף ג (שולחן ערוך יורה דעה תב, ג) פסק כדעה ראשונה, שכן עיקר לדינא. דכך לי אם שבת בתחלתו כמו אם שבת באמצע או בסופו. ולא עוד אלא אפילו שמע שמועה קרובה בשבת ערב הרגל, כיון שדברים שבצנעא נוהג – עולה לו אותו שבת למקצת אבלות, ושוב הרגל מבטל ממנו גזירת שבעה כמו שכתבתי בסימן שצ"ט. וכבר נתבאר בסעיף א דמנינן שלושים לענין קרובה ורחוקה מיום הקבורה ולא מיום המיתה. ויש מי שרוצה לומר דדווקא אותם שהיו בעת המיתה והקבורה מונים מיום הקבורה שהיתה אז סתימת הגולל, וחלה עליהם אז האבלות. אבל אותם שלא היו בעת מעשה – מונין ליום המיתה, דיום המיתה הוא העיקר (ט"ז סעיף קטן ו, וש"ך סעיף קטן א בשם רש"ל). וחלקו עליהם הגדולים (אבהע"ז והש"ך עצמו בנקודות הכסף). וכן מפורש ברבינו ירוחם, וזה לשונו: "שמועה רחוקה" נקראת ששמעה אחר שלושים יום לקבורתו. עד כאן לשונו. וכן כתבו המרדכי והרא"ש (סימן ק"ג) במעשה שאירע במגנצ"א, עיין שם. וכן מבואר מדברי הרמב"ם ריש פרק שביעי (רמב"ם הלכות אבל ז) שכתב: כללו של דבר: יום שמועתו הקרובה כיום קבורה. עד כאן לשונו. שמע מינה דהשמועה הוא מהקבורה. וכן בזבחים (זבחים ק ב): יום שמועה כיום קבורה, עיין שם.