Except as otherwise provided by rules and regulations of the board of fire prevention regulations, no volatile inflammable fluid except an amount not exceeding one quart contained in an approved safety can and no non-volatile inflammable fluid except an amount not exceeding ten gallons for domestic use shall be kept, used or stored in any part of any building used for habitation, and no volatile inflammable fluid in quantity exceeding one gallon contained in an approved safety can, and no non-volatile inflammable fluid in quantity exceeding thirty gallons, shall be kept, used or stored, except in the tank of an automobile, motor boat or stationary engine, within fifty feet of any building used for habitation, unless a permit has first been obtained therefor from the head of the fire department under such terms and conditions as he may prescribe. A fee of not more than fifty cents may be charged for any permit granted under the authority of this section.
Mass. Gen. Laws ch. 148, § 23