can it fit?

my 525i has 6 bolts on each shaft for the differential. the m5 diff i can get also has same shaft heads, the only potential problem is the diff housing. does it fit?

thanks