in binaries [1][2][3] . If the orbital period of the binary is short enough, energy losses from gravitational wave radiation can shrink the orbit until the two white dwarfs come into contact and merge 4 . Depending on the masses of the coalescing white dwarfs, the merger can lead to a supernova of type Ia, or it can give birth to a massive white dwarf 5 . In the latter case, the white dwarf remnant is expected to be highly magnetised 6,7 due to the strong dynamo that may arise during the merger, and rapidly rotating due to conservation of the orbital angular momentum of the binary 8 . Here we report the discovery of a white dwarf, ZTF J190132.9+145808.7, which presents all these properties, but to an extreme: a rotation period of 6.94 minutes, one of the shortest measured for an isolated white dwarf 9, 10 , a magnetic field ranging between 600 MG and 900 MG over its surface, one of the highest fields ever detected on a white dwarf 11 , and a stellar radius of 1810 km, slightly larger than the radius of the Moon. Such a small radius implies the star's mass is the closest ever detected to the white dwarf maximum mass, or Chandrasekhar mass 12 . In fact, as the white dwarf cools and its composition stratifies, it may become unstable and collapse due to electron capture, exploding into a thermonuclear supernova or collapsing into a neutron star. Neutron stars born in this fashion could account for ∼10% of their total population.The Zwicky Transient Facility [13][14][15] (ZTF) is a synoptic optical survey that uses the 48-inch Samuel Oschin Telescope of the Palomar Observatory to image the Northern sky on a regular basis.We discovered ZTF J190132.9+145808.7 (hereafter ZTF J1901+1458) during a search for fast variability in massive white dwarfs. To this end, we selected objects in a white dwarf catalogue 16 that lie below the main white dwarf cooling sequence in the Gaia 17 color-magnitude diagram (CMD,