1,325. Notification on Shabbos
206:4 If one received timely notification of a death on Shabbos, then Shabbos counts as the first day of shiva. After Shabbos, the mourner tears his garment and counts another six days.
206:5 If he received timely notification on Shabbos or yom tov, and after Shabbos or yom tov the news would be considered delayed, he is not allowed to do "private things" (such as engaging in marital relations) on Shabbos or yom tov. After Shabbos or yom tov, he observes one hour of mourning as one does in the case of delayed notification.