Sefirat Ha Omer
(י) דַּבֵּ֞ר אֶל־בְּנֵ֤י יִשְׂרָאֵל֙ וְאָמַרְתָּ֣ אֲלֵהֶ֔ם כִּֽי־תָבֹ֣אוּ אֶל־הָאָ֗רֶץ אֲשֶׁ֤ר אֲנִי֙ נֹתֵ֣ן לָכֶ֔ם וּקְצַרְתֶּ֖ם אֶת־קְצִירָ֑הּ וַהֲבֵאתֶ֥ם אֶת־עֹ֛מֶר רֵאשִׁ֥ית קְצִירְכֶ֖ם אֶל־הַכֹּהֵֽן׃
(10) Speak to the Israelite people and say to them: When you enter the land that I am giving to you and you reap its harvest, you shall bring the first sheaf of your harvest to the priest.
(טו) וּסְפַרְתֶּ֤ם לָכֶם֙ מִמָּחֳרַ֣ת הַשַּׁבָּ֔ת מִיּוֹם֙ הֲבִ֣יאֲכֶ֔ם אֶת־עֹ֖מֶר הַתְּנוּפָ֑ה שֶׁ֥בַע שַׁבָּת֖וֹת תְּמִימֹ֥ת תִּהְיֶֽינָה׃
(15) And from the day on which you bring the sheaf of elevation offering—the day after the sabbath—you shall count off seven weeks. They must be complete:
(טז) עַ֣ד מִֽמָּחֳרַ֤ת הַשַּׁבָּת֙ הַשְּׁבִיעִ֔ת תִּסְפְּר֖וּ חֲמִשִּׁ֣ים י֑וֹם וְהִקְרַבְתֶּ֛ם מִנְחָ֥ה חֲדָשָׁ֖ה לַיהוָֽה׃
(16) you must count until the day after the seventh week—fifty days; then you shall bring an offering of new grain to the LORD.
(ט) שִׁבְעָ֥ה שָׁבֻעֹ֖ת תִּסְפָּר־לָ֑ךְ מֵהָחֵ֤ל חֶרְמֵשׁ֙ בַּקָּמָ֔ה תָּחֵ֣ל לִסְפֹּ֔ר שִׁבְעָ֖ה שָׁבֻעֽוֹת׃
(9) You shall count off seven weeks; start to count the seven weeks when the sickle is first put to the standing grain.

אמר אביי מצוה למימני יומי ומצוה למימני שבועי רבנן דבי רב אשי מנו יומי ומנו שבועי אמימר מני יומי ולא מני שבועי אמר זכר למקדש הוא:

- דיליף משבע שבתות וחמשים יום ההוא דחד קרא אמר ימים וחד קרא אמר שבתות מיבעי ליה לכדאביי:

Rashi

ר"ע אומר למד תורה בילדותו ילמוד תורה בזקנותו היו לו תלמידים בילדותו יהיו לו תלמידים בזקנותו שנא' בבקר זרע את זרעך וגו' אמרו שנים עשר אלף זוגים תלמידים היו לו לרבי עקיבא מגבת עד אנטיפרס וכולן מתו בפרק אחד מפני שלא נהגו כבוד זה לזה והיה העולם שמם עד שבא ר"ע אצל רבותינו שבדרום ושנאה להם ר"מ ור' יהודה ור' יוסי ורבי שמעון ורבי אלעזר בן שמוע והם הם העמידו תורה אותה שעה תנא כולם מתו מפסח ועד עצרת אמר רב חמא בר אבא ואיתימא ר' חייא בר אבין כולם מתו מיתה רעה

. Rabbi Akiva says that the verse should be understood as follows: If one studied Torah in his youth he should study more Torah in his old age; if he had students in his youth he should have additional students in his old age, as it is stated: “In the morning sow your seed, etc.” They said by way of example that Rabbi Akiva had twelve thousand pairs of students in an area of land that stretched from Gevat to Antipatris in Judea, and they all died in one period of time, because they did not treat each other with respect. And the world was desolate of Torah until Rabbi Akiva came to our Rabbis in the South and taught his Torah to them. This second group of disciples consisted of Rabbi Meir, Rabbi Yehuda, Rabbi Yosei, Rabbi Shimon, and Rabbi Elazar ben Shamua. And these are the very ones who upheld the study of Torah at that time. Although Rabbi Akiva’s earlier students did not survive, his later disciples were able to transmit the Torah to future generations. With regard to the twelve thousand pairs of Rabbi Akiva’s students, the Gemara adds: It is taught that all of them died in the period from Passover until Shavuot. Rav Ḥama bar Abba said, and some say it was Rabbi Ḥiyya bar Avin: They all died a bad death.

(א) סדר תפל' ליל שני של פסח וספירת העומר. ובו י"ס:
בליל שני אחר תפל' ערבית מתחילין לספור העומר ואם שכח לספור בתחל' הלילה הולך וסופר כל הלילה ומצוה על כל אחד לספור לעצמו וצריך לספור מעומד ולברך תחל' וסופר הימים והשבועו' כיצד ביום הראשון אומר היום יום אחד (בעומר) עד שמגיע לשבעה ימים ואז יאמר היום שבעה ימים שהם שבוע אחד (בעומר) וביום שמיני אומר היום שמונה ימים שהם שבוע א' ויום א' (בעומר) וכן עד שיגיע לארבע' עשר יאמר היום ארבעה עשר ימים שהם שני שבועו' (בעומר) ועל דרך זה מונה והולך עד מ"ט יום:

(1) On the second night after the evening prayer, we begin to count the Omer. And if someone forgot to count, [that one may count] from the beginning of the evening onwards. He may account all night. It is a mitzvah for each person to count for themselves. He needs to count standing and bless before. He should count the days and weeks. How? On the first day he should say “today is day one of the Omer”, until he arrives to seven days. [At which point he should say], “they are one week of the Omer.” And on the eighth day he should say “today is eight days and they are one week and one day of the Omer.” And also, when he arrives to the 14th day, he should say “today is 14 days, they are two weeks of the Omer.” And in this way he should count and onwards until the 49th day.

(א) דינים הנוהגים בימי העומר. ובו ד' סעיפים:
נוהגים שלא לישא אשה בין פסח לעצרת עד ל"ג בעומר מפני שבאותו זמן מתו תלמידי ר' עקיבא אבל לארס ולקדש שפיר דמי ונשואין נמי מי שקפץ וכנס אין עונשין אותו: הגה מיהו מל"ג בעומר ואילך הכל שרי (אבודרהם וב"י ומנהגים):

(ב) נוהגים שלא להסתפר עד ל"ג לעומר שאומרים שאז פסקו מלמות ואין להסתפר עד יום ל"ד בבוקר אלא אם כן חל יום ל"ג ערב שבת שאז מסתפרים בו מפני כבוד השבת: הגה ובמדינות אלו אין נוהגין כדבריו אלא מסתפרין ביום ל"ג ומרבים בו קצת שמחה ואין אומרים בו תחנון (מהרי"ל ומנהגים) ואין להסתפר עד ל"ג בעצמו ולא מבערב (מהרי"ל) מיהו אם חל ביום א' נוהגין להסתפר ביום ו' לכבוד שבת (מהרי"ל) מי שהוא בעל) ברית או מל בנו מותר להסתפר בספירה לכבוד המילה (הגהות מנהגים):

:

(1) It is customary not to get married between Pesach and Shavuot, until Lag BaOmer (the 33rd day), because during that time, the students of Rabbi Akiva died. However, to do "erusin" and "kiddushin" (engagement and betrothal) is OK. And even for "nisuin" (marriage), if someone did so, we do not punish him. Rema: however, from Lag Ba'Omer onwards, all this is permitted (Abudraham, Beit Yosef & Minhagim).

(2) It is customary not to cut one's hair until Lag BaOmer, since it is said that that is when they stopped dying. One should not cut one's hair until the 34th day, in the morning, unless the 33rd day falls on Friday, in which case one may cut one's hair then, in honor of the Sabbath ("kavod Shabbat"). Rema: But in these countries, we do not follow the custom he advocates; rather, we cut our hair on the 33rd day, and we rejoice a bit, and we do not say Tachanun (Maharil and Minhagim). And one should only cut one's hair on the 33rd day itself, but not on its evening. However, if it falls on Sunday, our custom is to cut our hair on Friday in honor of the Sabbath (Maharil). Someone who is performing a brit milah (i.e., the sandak, mohel and the infant's father), or circumcizing his son, is allowed to cut his hair during sefirah in honor of the circumcision (Hagahot Minhagim).