M8 x 29mm overall length. Bolt with a built-in Neodymium magnet. Used as brake rotor bolt to trigger speedo sensor, or for other use.
eBay