שולחן ערוך, יורה דעה שע״ח

Shulchan Arukh, Yoreh De'ah 378

דיני סעודת הבראה לאיש ולאשה. ובו י"ג סעיפים:
אבל אסור לאכול משלו בסעודה ראשונה אבל בשניה מותר אפילו ביום ראשון ומצוה על שכניו שיאכילוהו משלהם כדי שלא יאכל משלו ויכול אחד להאכיל את חברו בימי אבלו והוא יחזור גם כן ויאכילנו בימי אבלו ובלבד שלא יתנו בתחילה:
A mourner is forbidden to eat of his own at the first meal [after burial], but at the second [meal] he is permitted [to eat of his own] even on the first day [of mourning]. A religious duty rests upon his neighbours to provide food for him of their own in order that he should not eat of his own. One may provide food for another person during the latter's mourning and the latter may in turn provide food for the former during his mourning, provided they do not make such a stipulation at the outset.
אשה שאירעה אבל אין לאנשים להברותה אבל נשים מברין אותה ואשה נשואה שאירעה אבל אינה יכולה לאכול סעודה ראשונה משל בעלה וכן מי שיש לו סופר או שכיר אם אוכל בשכרו ואירעו אבל לא יאכל סעודה ראשונה משל בעל הבית אבל מי שזן עני או יתום או לבנו ובתו בלא תנאי ואירעם אבל יכולים לאכול סעודה ראשונה משל בעל הבית:
If mourning befell a woman, men should not provide the mourner's meal for her, but women should provide her with the mourner's meal. If mourning befell a married woman, she may not eat the first meal [after burial] of her husband. So too, one who has [in his employment] a scribe or a hired man, if [each of them] receives meals as his payment, and mourning befell him, he should not eat the first meal of his employer. But one who feeds a poor person or an orphan [because it is a meritorious act] or his son and daughter without any stipulation, and mourning befell them, — [the law is that] they may eat the first meal of the master of the house.
אם רצה האבל שלא לאכול ביום הראשון מותר לאכול משלו אפילו סעודה ראשונה: הגה וכן אם לא הברוהו ביום ראשון שנמשך עד הלילה מותר לאכול בלילה משלו ואין צריך הבראה (טור בשם רוב הפוסקים):
If the mourner desires not to eat on the first day, he may eat of his own even the first meal. Gloss: So too, if he was not provided with the mourner's meal on the first day until the night, he is permitted to eat at night of his own and he is not required to be provided with the mourner's meal.
היו נוהגים להתענות ביום מיתת החכמים:
It was customary to fast on the day of the death of scholars.
מי שנקבר בערב שבת סמוך לחשכה קודם ביה"ש יש מי שאומר שמברין אותו אז ולי נראה דכיון שאינו חובה טוב שלא להברותו אז מפני כבוד השבת וכן נוהגין:
[In the case of] one who was buried on the eve of the Sabbath close to nightfall prior to twilight, there is an authority who says that he should be provided then with the mourner's meal. But it seems to me that since this is not obligatory, it is better not to provide him then with the mourner's meal on account of the honour due to the Sabbath. And thus is the accepted custom.
אין מברין על הקטן אא"כ הוא בן שלשים יום שלימים או קים ליה ביה שכלו לו חדשיו:
The mourner's meal is not provided for [one whose] infant child died, unless it was thirty complete days old, or one knows for certain that its months [of pregnancy] were complete.
מרביצין ומכבדין בבית האבל ומדיחין קערות כוסות וצלוחיות וקיתונות ואין מביאין שם לא בשמים ולא מוגמר אבל מביאים אותם בבית שהמת שם ואין מברכים עליהם ואין אומרים שמועה ואגדה בבית האבל אלא יושבים ודוממים:
One may sprinkle or sweep [the floors] in the house of mourning and wash dishes, cups, flasks and drinking vessels. However, one does not bring therein perfumes or spices, but he may bring them into a house wherein the corpse lies, and one does not recite a benediction over them. One does not expound legal matters or homiletical interpretations in the house of mourning, but one sits and is silent.
כיון שנקבר המת מותר לאכול בשר ולשתות יין מעט בתוך הסעודה כדי לשרות אכילה שבמעיו אבל לא לרוות:
As soon as the corpse is buried, he may eat meat and drink some wine during the meal in order to dissolve the food in his bowels, but [he must] not drink to the full.
מקום שנהגו להברות בבשר ויין ומיני מטעמים עושים ומברין תחילה בבצים או בתבשיל של עדשים זכר לאבילות ואח"כ אוכלים כל צרכם:
[In] a locality where it is the adopted custom to provide the mourner's meal with meat, wine and savoury dishes, they do so. [However], at first they provide the mourner's meal with eggs or a dish of lentils as a symbol of mourning, and then they eat their sufficient requirement.
אין לאכול עם האבל כל כך בני אדם שיתחלקו לשני מקומות:
A great number of people should not [assemble] to eat with the mourner, for this would necessitate that they separate themselves to two different places.
היכא שצריך למנות שבעה אחר הרגל וכן אם שמע שמועה בשבת צריך להברותו הבראה ראשונה שבימי אבלות (וי"א שכיון שנדחה יום ראשון אין מברין אותו וכן נוהגים (במרדכי במ"ק בשם י"א ונ"י) ואפילו היכא דעולה לו למנין ז' כגון במקומות שעושין שני ימים ששני עולה):
Where one is required to count seven [days of mourning] after the Festival, and so too, if one heard [near] tidings on the Sabbath, the first mourner's meal which is partaken of during the days of mourning must be provided [by others]. However, some say that since the first day [of mourning] was postponed, the mourner's meal is not provided [by others]. And thus is the common practice, even where the [first day] enters into the counting of the seven [days of mourning], e.g., in localities where two [Festival] days are observed, [in which case] the second [Festival] day is counted [in the seven days of mourning].
אין מברין על שמועה רחוקה:
The mourner's meal is not provided in the case of distant tidings.
פריס (פירוש בוצע לחם לברך המוציא) מנחם גדול דבהון ובשבת פריס כאורחיה :
The distinguished comforter among them breaks bread, i.e., breaks bread to recite the blessing before the meal, and on the Sabbath he breaks bread in his usual manner.

Ashlei Ravrevei: Shulchan Aruch Yoreh Deah, Lemberg, 1888 (Public Domain) · Code of Hebrew Law by Chaim N. Denburg, Montreal, 1955 (CC-BY) · 13 se'ifim