א אָסוּר לְכַבּוֹת דְּלֵקָה בְּיוֹם טוֹב, אֲפִלּוּ אִם רוֹאֶה בֵּיתוֹ שֶׁנִּשְׂרַף, אִם אֵין שָׁם סַכָּנַת נְפָשׁוֹת. וְאֵין מְכַבִּין הַבְּקַעַת, אֲפִלּוּ כְּדֵי שֶׁלֹּא יִתְעַשֵּׁן הַבַּיִת אוֹ הַקְּדֵרָה אוֹ כְּדֵי לְשַׁמֵּשׁ מִטָּתוֹ. הַגָּה: וְיֵשׁ אוֹמְרִים דַּוְקָא אִם אֶפְשָׁר לְהַצִּיל הַקְּדֵרָה בְּלֹא כִּבּוּי, אֲבָל אִם אִי אֶפְשָׁר לְהַצִּיל אוֹ לְבַשֵּׁל הַקְּדֵרָה בְּעִנְיָן אַחֵר רַק שֶׁיְּכַבֶּה, מֻתָּר לְכַבּוֹת, (הָרֹא"שׁ וּמָרְדְּכַי וְרַ"ן פ"ב דְּבֵיצָה וְרַשְׁבָּ"א וְטוּר), וְכַנַּ"ל עִקָּר; וְכֵן בְּבַיִת, אִם יִשָּׂרֵף הַבַּיִת לֹא יִהְיֶה לוֹ מָקוֹם לֶאֱכֹל שָׁם וְיַפְסִיד, סְעוּדָתוֹ, מֻתָּר לְכַבּוֹת, אֲבָל אִם יֵשׁ לוֹ בַּיִת אַחֵר לֶאֱכֹל שָׁם, אָסוּר לְכַבּוֹת מִשּׁוּם הֶפְסֵד מָמוֹנוֹ, (בֵּית יוֹסֵף בְּשֵׁם אָרְחוֹת חַיִּים).
1 Not to extinguish on Yom Tov. 11 sections: It is forbidden to extinguish a fire on Yom Tov, even if one sees his house burning, as long as there is no danger to life. One may not extinguish a piece of wood even to prevent the house or pot from becoming smoky, or in order to have marital relations. Rema: Some say this applies only when it is possible to save the pot without extinguishing, but if it is impossible to save or cook the pot in any other way except by extinguishing, it is permitted to extinguish. [Rosh, Mordechai, Ran ch. 2 of Beitzah, Rashba, and Tur] This seems to me the primary ruling. Similarly regarding a house — if the house will burn and he will have no place to eat there and will lose his meal, it is permitted to extinguish; but if he has another house to eat in, it is forbidden to extinguish on account of financial loss. [Beit Yosef in the name of Orchot Chayyim]