I saw a Ford pickup’s battery ignite in the parking lot of the gym I go to. It sent up a flame that caught the whole hood on fire, fire department came out and put it out.
I jumped in my car parked right next to it and moved it down a few spaces. LOL.
If it was at the passenger side front of the hood, it was the battery. If it was at the driver’s rear side of the hood, it was the master cylinder going up.