When a fire breaks out, one should audibly recite the takbeer in abundance.
عن عمرو بن شعيب، عن أبيه، عن جده رضي الله عنه قال: قال رسول الله صلى الله عليه وسلم: إذا رأيتم الحريق فكبروا؛ فإن التكبير يطفئه (عمل اليوم والليلة لابن السني، الرقم: 294)
Hazrat Abdullah bin Amr (radhiyallahu ‘anhuma) reports that Rasulullah (sallallahu ‘alaihi wasallam) said, “When you see a fire break out, then recite the takbeer (abundantly with firm conviction in the power of Allah Ta‘ala), for certainly reciting the takbeer will extinguish the fire.”
Allamah Jazari (rahimahullah) mentions that extinguishing a fire through reciting the takbeer has been witnessed and experienced.