סימן קכ סעיף יא
בְּלֵיל רִאשׁוֹן דְּשָׁבוּעוֹת, מְאַחֲרִין מִלְּהִתְפַּלֵּל עַד צֵאת הַכּוֹכָבִים. שֶׁאִם יִתְפַּלְּלוּ קוֹדֵם וִיקַבְּלוּ קְדֻשַּׁת יוֹם טוֹב, חָסֵר מְעַט מִמ"ט יְמֵי הַסְּפִירָה. וְהַתּוֹרָה אָמְרָה שֶׁבַע שַׁבָּתוֹת תְּמִימוֹת תִּהְיֶינָה.
On the first night of Shavuos, the Maariv service is delayed, until the stars come out, for, if we would hold the service before this time, and usher in the Yom Tov, a bit of time will be lacking from the forty-nine days of the Sefirah, and the Torah says, "They shall be seven complete weeks" (Leviticus 23:15).
תנא דבי אליהו כל השונה הלכות בכל יום מובטח לו שהוא בן העולם הבא שנאמר הליכות עולם לו אל תקרי הליכות אלא הלכות (נדה ע"ג.)