שולחן ערוך, אורח חיים רי״ח
Shulchan Arukh, Orach Chayim 218
1ברכות הנעשים על הנסים. ובו ט סעיפים:הרואה מקום שנעשו בו נסים לישראל כגון מעברות הים ומעברות הירדן ומעברות נחלי ארנון ואבני אלגביש של בית חורון ואבן שבקש עוג לזרוק על ישראל ואבן שישב עליה משה בעת מלחמת עמלק וחומת יריחו מברך שעשה נסים לאבותינו במקום הזה ובין ברכה זו ובין שאר ברכות הראיה הרי הם כשאר ברכות וכולם בהזכרת שם ומלכות:
Someone who sees a place where miracles were done for Israel, such as: the crossing of the sea, the crossing of the Jordan, the crossing of the Rivulets of Arnon, the stones of Elgavish of Beit Choron, the stone which Og wanted to throw on Israel, the stone that Moshe sat on during the war of Amalek, and the walls of Jericho, should bless as follows: "she'asah nissim la'avoteinu bamakom hazeh" - "who wrought miracles for our forefathers at this place." And both this blessing and the other blessings made upon seeing things, are like all other blessings; they are all recited with the mention of God's Name and Kingship.
2על נס שנעשה לקצת ישראל כל זמן שלא נעשה לכל ישראל או רובן ואפי' נעשה לקצת שבטים אין מברכין עליו:
On a miracle which was done for part of Israel: as long as it was not done for all of Israel, or the majority, even if it was done for a minority of tribes, we do not make the blessing on it.
3כל אלו הדברי' אינם אלא כשרואה אותם משלשי' לשלשים יום ואז הם חובה כמו בפעם ראשונה:
All these things only apply if one hasn't seen them in 30 days; and in such a case, they constitute an obligation just like the first time.
4הרואה מקום שנעשה נס ליחיד אינו מברך אבל הוא עצמו מברך שעשה לי נס במקום הזה וכל יוצאי יריכו גם כן מברכין שעשה נס לאבי במקום הזה:
One who sees a place where a miracle happened to a single person does not make a blessing; but if it was to himself, he blesses, "who made a miracle for me in this place." And all of his descendants also bless, "who made a miracle to my father in this place."...
5מי שנעשו לו נסים הרבה בהגיעו לאחד מכל המקומות שנעשה לו נס צריך להזכיר כל שאר המקומות ויכלול כלם בברכה אחת:
Someone for whom many miracles were done, when he comes to one of the places that a miracle was done, he should mention all the places, and include them in one blessing.
6על נס של רבו צריך לברך כשם שהוא מברך על נס של אביו: הגה י"א דה"ה אם רואה האדם שנעשה לו הנס מברך עליו כמו שמברך על המקום שנעשה בו הנס. (אבודרהם):
On a miracle done for one's teacher, he must bless as he would for his father's miracle. Rem"a: There are those who say that, similarly, if one sees the person for whom a miracle was performed, he should bless just as he would at the place where the miracle was performed.
7על נס של אדם מסוים כיואב בן צרויה וחביריו וכן על נס של אדם שנתקדש בו שם שמים כגון דניאל וחביריו מברך לפיכך הרואה גוב אריות של דניאל וכבשן האש של חנניה מישאל ועזריה מברך שעשה נס לצדיקים במקום הזה:
On a miracle of a notable person, such as Yoav son of Tzeruya and his like, and on a miracle of a person by whom the Heavenly Name was sanctified, such as Daniel and his fellows, one makes a blessing. Therefore, one who sees the lions' den of Daniel, or the fiery furnace of Chananiah, Mishael and Azaryah, recites: "she'asah ness latzadikim bamakom hazeh" - "who wrought miracles for the righteous ones at this place."
8הרואה אשתו של לוט מברך שתים עליה אומר בא"י אמ"ה דיין האמת ועל לוט אומר בא"י אמ"ה זוכר הצדיקים:
One who witnesses Lot's wife pronounces two blessings: upon her, he says: "Blessed are you, oh G-d, King of the Universe, the True Judge", and upon Lot, he says "Blessed are you, oh G-d, King of the Universe, He who remembers the righteous".
9יש אומרים שאינו מברך על נס אלא בנס שהוא יוצא ממנהג העולם אבל נס שהוא מנהג העולם ותולדתו כגון שבאו גנבים בלילה ובא לידי סכנה וניצול וכיוצא בזה אינו חייב לברך ויש חולק וטוב לברך בלא הזכרת שם ומלכות:
There are those who say that one should only recite a blessing over such a miracle that defies the ways of the world. However, for the miracle that is within the ways of the world, e.g. dangerous robbers coming by night and no one being harmed, etc, one is not obligated to recite a blessing. But there is a difference of opinion regarding the above, so it is good, after all, to recite a blessing [for the natural miracle] but without saying G-d's name and the epithet of majesty, i.e. omitting the words "Lord, our G-d Majesty of the World..." in the blessing.