כל פיקוח נפש דוחה שבת והזריז הרי זה משובח אפילו נפלה דליקה בחצר אחרת וירא שתעבור לחצר זו ויבא לידי סכנה מכבין כדי שלא תעבור:
Abaye responded and said: One should not say this, as it was taught in the school of Rabbi Yishmael that from the verse, “And shall cause him to be thoroughly healed” (Exodus 21:19), from here we derive that permission is granted to a doctor to heal. The practice of medicine is in accordance with the will of God.
In case you need it: "The Talmud teaches: “The Sages taught, if there is plague in the city, gather your feet – i.e.-limit the time you spend out of the house, as it is stated in the verse: And none of you shall go out of the opening of his house until the morning.’ And it says in another verse: ‘Come, my people, enter into your chambers and shut your doors behind you; hide yourself for a little moment until the anger has passed by (Isaiah 26:20)”
One must refrain from putting coins in one's mouth, lest it's covered with dried saliva of those afflicted with boils. He should not put the palm of his hand in his arm pit, lest his hand touched a metzorah or a harmful poison. He should not put a loaf of bread under his armpit, because of the sweat. He should not put a cooked item or drinks under the bed, since an evil spirit rests on them. He should not stick a knife in an esrog or a radish, lest one fall on its edge and die. Hagah: Similarly, he should be careful of all things that cause danger, because danger is stricter than transgressions, and one should be more careful with an uncertain danger than with an uncertain sin/forbidden action. They also prohibited to go in a dangerous place, such as under a leaning wall, or alone at night. They also prohibited to drink water from rivers at night or to put one's mouth on a stream of water and drink, because these matters have a concern of danger. It is the widespread custom not to drink water during the equinox, and the early ones wrote this and it is not to be changed. They also wrote to flee from the city when a plague is in the city, and one should leave at the beginning of the plague and not at the end. And all of these things are because of the danger, and a person who guards his soul will distance himself from them and it is prohibited to rely on a miracle in all of these matters.
(א) וירחץ בנקיון כפיו ויברך בא"י אמ"ה אקב"ו על נטילת ידים וידקדק לערות עליהם שלשה פעמים מפני שרוח רעה שורה על הידים קודם נטילה ואינה סרה עד שיערה עליהם ג"פ ועל כן צריך למנוע מהגיע בידו קודם נטילה לפה ולחוטם ולאזנים ולעינים מפני שרוח רעה שורה עליהם ואם אין לו מים יקנח ידיו בצרור או בכל מידי דמנקי ויברך על נקיות ידים:
(1) 4. He should wash his hands clean and recite the blessing ‘Blessed are you, Lord our God, king of the universe, who sanctified us with His mitzvot and commanded us concerning hand washing.’ He should be exacting in pouring over them three times on account of the evil spirit alighting upon the hands prior to washing, which is not vitiated until he has poured over them three times. Therefore, he needs to refrain from touching with his hand, prior to washing, to the mouth, to the nose, and to the ears and to the eyes, on account of the evil spirit alighting upon them. But if he has no water, he should wipe his hands with a stone chip or with any type of wiping implement and recite the blessing ‘concerning the cleaning of the hands.’
