Reference for Yoma 168:8
ראה שננעלה דלת בפני תינוק שוברה ומוציאו והזריז ה"ז משובח ואין צריך ליטול רשות מב"ד ואע"ג דקא מיכוין למיתבר בשיפי מכבין ומפסיקין מפני הדליקה בשבת והזריז ה"ז משובח ואין צריך ליטול רשות מב"ד ואע"ג דקא ממכיך מכוכי
Nor are these things to be done by Gentiles or minors,<span class="x" onmousemove="('comment',' So MS.M.; cur. edd. Cutheans (Samaritans) . If the original 'Cutheans is preferred, then 'gedole Yisrael' (rendered here 'adult Jews') means 'even prominent Jews' - shall profane the Sabbath to save life.');"><sup>7</sup></span> but by Jewish adults.<span class="x" onmousemove="('comment',' So MS.M.; cur. edd. Cutheans (Samaritans) . If the original 'Cutheans is preferred, then 'gedole Yisrael' (rendered here 'adult Jews') means 'even prominent Jews' - shall profane the Sabbath to save life.');"><sup>7</sup></span> Nor do we say in this connection: We do not rely in such matters on the opinions of women, or of Samaritans, but we join their opinion to that of others.<span class="x" onmousemove="('comment',' If e.g., two say it is necessary, three say it was not, and a woman or a non-Jew assert it is necessary, the opinion of the latter is joined to that of the others, who are in the affirmative, thus presenting a divided opinion, in which case, since danger to human life is involved, the more lenient view is adopted.');"><sup>8</sup></span>