Have you checked the rubber hoses on your washing machine recently? Burst rubber hoses are one of the top causes of costly home flooding, yet this can be prevented with a little preventative maintenance.
Check the hoses that supply water to the clothes washer for any signs of wear and tear such as cracks, blisters or bumps in the hoses. If there is any sign of these problems, replace them immediately. It's best to use stainless steel replacement hoses; they last much longer.
Consider installing a water spill/leak floor tray under the washing machine. Some trays can be connected to the household drain pipes to handle larger spills or leaks.
Use a Floodstop safety device, which automatically shuts off the water supply to the washing machine and sounds an alarm if even a few drops of water hit its sensor on the floor. Whether caused by a burst hose or an overflowing washing machine, the Floodstop will automatically shut off the water supply to minimize water damage.