It depends on the legislation of the country you are in.
US Coast Guard regulations specify which types, sizes and configurations of boats require fire extinguishers. Anything not within those requirements can be operated without a fire extinguisher aboard. But it is often better to be prepared even at a higher level than the minimum standards.
Ab
why not haylon extinguishers
Yes, if it has an inboard engine, permanent fuel tanks, or any enclosed storage or sealed area where flammable fumes can accumulate, you need a B-1 USCG-approved extinguisher.
A typical restaurant would require at least one Type ABC fire extinguisher plus a Type K fire extinguisher near the kitchen (for grease and fryer fires).
Ab
PWCs and boats up to 26 feet must carry at least one B-I fire extinguisher unless exempt (i.e., Class A or 1, open, outboard motor, not carrying passengers for hire, etc). A B-1 extinguisher may be a 2-pound dry chem, 4-pound CO2 or 6 quart foam, if properly labelled as USCG certified. Boats 26 to 40 feet must carry two B-I or one B-II. If there is a permanently installed fire extinguisher system only one B-I extinguisher is required. For vessels 40 to 65 feet, three B-I or one B-II and one B-I extinguishers are required. Vessels in this class with permanently installed fire extinguisher systems are required to carry two B-I or one B-II extinguishers. Vessels without combustible fuel onboard, no gasoline engine or no areas where vapors can be trapped are not required to carry a fire extinguisher.
B : c
Class B
A Coast Guard requirement for a fire extinguisher is that it must be USCG-approved and appropriately sized based on the vessel's length and type. Additionally, it must be readily accessible, properly mounted, and maintained in good working condition. Vessels over 26 feet are typically required to have at least one B-1 type fire extinguisher. Regular inspections and servicing of the extinguisher are also necessary to ensure compliance.
16 feet or longer powerboat is required to carry one type IV throwable PFD.
It is best to have at least two fire extinguishers for your house. A dry chemical fire extinguisher would be good and it can be purchased on eBay.
A type B extinguisher.