The Gemara asks: What is Hanukkah, and why are lights kindled on Hanukkah? The Gemara answers: The Sages taught in Megillat Ta’anit: On the twenty-fifth of Kislev, the days of Hanukkah are eight. One may not eulogize on them and one may not fast on them. What is the reason? When the Greeks entered the Sanctuary they defiled all the oils that were in the Sanctuary by touching them. And when the Hasmonean monarchy overcame them and emerged victorious over them, they searched and found only one cruse of oil that was placed with the seal of the High Priest, undisturbed by the Greeks. And there was sufficient oil there to light the candelabrum for only one day. A miracle occurred and they lit the candelabrum from it eight days. The next year the Sages instituted those days and made them holidays with recitation of hallel and special thanksgiving in prayer and blessings.
Purim - Al Hanisim
And [we thank You] for the
miracles, for the redemption, for the mighty deeds, for the saving acts, and for the wonders which You have wrought for our ancestors in those days, at this time—
In the Days of Mordechai and Esther, in Shushan, the capital, when Haman, the wicked, rose up against them and sought to destroy, to slay, and to exterminate all the Jews, young and old, infants and women, on the same day, on the thirteenth of the twelfth month, which is the month of Adar, and to plunder their possessions; But You, in Your abundant mercy, nullified his counsel and frustrated his intention and caused his design to return upon his own head and they hanged him and his sons on the gallows.
Al Hanisim - Chanuka
And [we thank You] for the miracles, for the redemption, for the mighty deeds, for the saving acts, and for the wonders which You have wrought for our ancestors in those days, at this time—
In the days of Matityahu, the son of Yochanan the High Priest, the Hasmonean and his sons, when the wicked Hellenic government rose up against Your people Israel to make them forget Your Torah and violate the decrees of Your will. But You, in Your abounding mercies, stood by them in the time of their distress. You waged their battles, defended their rights, and avenged the wrong done to them. You delivered the mighty into the hands of the weak, the many into the hands of the few, the impure into the hands of the pure, the wicked into the hands of the righteous, and the wanton sinners into the hands of those who occupy themselves with Your Torah. You made a great and holy name for Yourself in Your world, and effected a great deliverance and redemption for Your people Israel to this very day. Then Your children entered the shrine of Your House, cleansed Your Temple, purified Your Sanctuary, kindled lights in Your holy courtyards, and instituted these eight days of Chanukah to give thanks and praise to Your great Name.
(ה) נר חנוכה מניחו על פתח הסמוך לר"ה מבחוץ אם הבית פתוח לר"ה מניחו על פתחו ואם יש חצר לפני הבית מניחו על פתח החצר ואם היה דר בעליה שאין לו פתח פתוח לר"ה מניחו בחלון הסמוך לר"ה ובשעת הסכנה שאינו רשאי לקיים המצוה מניחו על שלחנו ודיו וצריך נר אחר להשתמש לאורו ואם יש מדורה אין צריך נר אחר ואם הוא אדם חשוב שאין דרכו להשתמש לאור המדורה צריך נר אחר:
(5) One should place the Hanukkah light at the entrance which adjoins the public domain, on the outside. If the house opens to the public domain, he should place it at its entrance. If there is a courtyard in front of the house, he should place it at the entrance of the courtyard. If he lives in the upper floor, having no entrance leading to the public domain, he should place it at a window that adjoins the public domain. In a time of danger, when one is not allowed to perform mitzvot, it is enough that he place it on his table. He needs another light to use for its illumination. And if there is a bonfire, he needs no other light. But if he is a dignified person, whose way is not to use the illumination of a bonfire, he needs another light.
(ו) מניחו למעלה מג' טפחים ומצוה להניחו למטה מעשרה טפחים ואם הניחו למעלה מעשרה טפחים יצא אבל אם מניחו למעלה מעשרים אמה לא יצא: הגה ואפילו לקחה כך דלוק והניחה למטה מכ' לא יצא דהדלקה עושה מצוה [ב"י בשם תוס']:
(6) One should place [the Hanukkah light] above three handsbreadths [from the ground]. It is a mitzvah to place it beneath ten handsbreadths. But if he placed it above ten handsbreadths, he has fulfilled his obligation. However, if he placed it above twenty cubits, he has not fulfilled his obligation. Rem"a: And even if he took it as it is, lit, and placed it below twenty cubits, he has not fulfilled his obligation, because the kindling accomplishes the mitzvah. (Beit Yosef quoting Tosafot)