שולחן ערוך, יורה דעה שס״ח
Shulchan Arukh, Yoreh De'ah 368
שלא לנהוג קלות ראש בבית הקברות. ובו ג' סעיפים:
בית הקברות אין נוהגין בהן קלות ראש (כגון לפנות שם (כל בו) או לאכול ולשתות שם ואין קורין ואין שונין שם (סמ"ג) ואין מחשבין שם חשבונות) (ב"י בשם רבינו ירוחם) ואין מרעין בהם בהמות ואין מוליכין בו אמת המים ולא יטייל בהם לקפנדריא (פי' למעבר מצד זה לצד זה) ולא ילקט מהם עשבים ואם ליקט (או) שצריך ללקטן לצורך בית הקברות שורפן במקומן: הגה וכן אין ליקח מקרקע עולם של קבר אף על גב דמותר בהנאה (כן משמע מהרא"ש והמרדכי) וכל זה אינו אלא משום כבוד המתים ולכן אם צריך אותו לרפואה שרי (ג"ז במרדכי) וכן מותר ליהנות מהעשבים שעל הקברות או פירות אילנות שעליהם לצורך הקברות כגון שהמושל עובד כוכבים מרעה בהמות על הקברים וא"א למחות בידו כי אם בהוצאה מרובה ואין יד הקהל משגת מוכרים דברים אלו כדי להציל הקברות מיד עובד כוכבים שזהו כבוד המתים (ת"ה סימן רפ"ד ומהרי"ו סימן נ') ואם אין דברים על הקברות למכור לצורך ההוצאה אם יד הקהל משגת ושבידם למחות בהוצאה מועטת צריכים למחות אם אין חשש בדבר שהמושל יתגרה בהם ע"י זה אבל בלאו הכי אין צריכין למחות (ג"ז שם):
בית הקברות אין נוהגין בהן קלות ראש (כגון לפנות שם (כל בו) או לאכול ולשתות שם ואין קורין ואין שונין שם (סמ"ג) ואין מחשבין שם חשבונות) (ב"י בשם רבינו ירוחם) ואין מרעין בהם בהמות ואין מוליכין בו אמת המים ולא יטייל בהם לקפנדריא (פי' למעבר מצד זה לצד זה) ולא ילקט מהם עשבים ואם ליקט (או) שצריך ללקטן לצורך בית הקברות שורפן במקומן: הגה וכן אין ליקח מקרקע עולם של קבר אף על גב דמותר בהנאה (כן משמע מהרא"ש והמרדכי) וכל זה אינו אלא משום כבוד המתים ולכן אם צריך אותו לרפואה שרי (ג"ז במרדכי) וכן מותר ליהנות מהעשבים שעל הקברות או פירות אילנות שעליהם לצורך הקברות כגון שהמושל עובד כוכבים מרעה בהמות על הקברים וא"א למחות בידו כי אם בהוצאה מרובה ואין יד הקהל משגת מוכרים דברים אלו כדי להציל הקברות מיד עובד כוכבים שזהו כבוד המתים (ת"ה סימן רפ"ד ומהרי"ו סימן נ') ואם אין דברים על הקברות למכור לצורך ההוצאה אם יד הקהל משגת ושבידם למחות בהוצאה מועטת צריכים למחות אם אין חשש בדבר שהמושל יתגרה בהם ע"י זה אבל בלאו הכי אין צריכין למחות (ג"ז שם):
Burial grounds must not be treated irreverently, — e.g., to ease oneself therein or to eat or drink therein; and one does not read [Bible] nor study [Mishna] therein; and one does not calculate accounts therein. Cattle are not permitted to graze in them, nor is a water-channel conveyed through them, nor should one walk through them for the purpose [of using them] as a short cut, — i.e., as a passage from one side to the other; nor should one pluck grass from them; and if one did pluck [grass] or one had to pluck it on account of the need of the graveyard-space, he burns it on the spot. Gloss: Similarly, must one not take [aught] from the natural soil of a grave, although it is permitted for use, and all this is only out of respect to the dead. Therefore, if one requires it for a remedy, it is permitted. Likewise, is it permitted to make use of the grass upon the graves or of the fruit of the trees that [stand] thereon, [provided this is done] for the benefit of the graves, e.g., where the heathen ruler permits his cattle to graze on the graves and it is impossible to prevent him save at a considerable cost, and the means of the community suffice not, — [the law is that] they may sell these things in order to save the graves from the heathen's hand, for this is [considered] respect to the dead. If there is nothing on the graves to sell for the sake of [meeting] the required expense, — [the law is that] if the means of the community suffice, and it is in their power to prevent [this desecration] through a small cost, they are required to prevent [him] if there is no apprehension that the ruler be thereby incited against them; but otherwise they are not required to prevent [him].
אילנות שנוטעין בבית הקברות מותר ללקט פירותיהם מאחר שאינם על הקברות עצמם:
[With respect to trees] that one plants on a cemetery, — [the law is that] it is permitted to harvest their fruit, since they are not [planted] on the graves proper.
קבר חדש נמדד ונמכר ונחלק והישן אינו נמדד ולא נמכר ולא נחלק:
A new grave is measured, sold and divided and an old one is not measured nor sold nor divided.
Ashlei Ravrevei: Shulchan Aruch Yoreh Deah, Lemberg, 1888 (Public Domain) · Code of Hebrew Law by Chaim N. Denburg, Montreal, 1955 (CC-BY) · 3 se'ifim