Works with a plain adapter
Leica M sits 9.66mm further from the sensor than Hasselblad X. You need a 9.66mm adapter, but it can be a plain one — a hollow metal spacer with no glass in it. The lens still reaches infinity focus and nothing is added to the optical path.
Coverage & framing. Leica M lenses are built for a Full frame imaging circle, which is smaller than Medium format. Expect heavy vignetting or a forced crop on a Hasselblad X body.