This isn't a complete answer to get $B$, but I think it's relevant for the discussion.
Let $m$ and $b$ be the (column) vectors associated with $M$ and $B$. Note that the quantities $B^T \Sigma B$ and $MB$ are scalars, given by $b \cdot \Sigma b$ and $m \cdot b$, respectively. Moving these scalars to the left of the vectors they multiply, your equation is $$ (b \cdot \Sigma b) m = 2(m \cdot b) \Sigma b, $$ which is an equality of vectors. In particular, if this equality holds, it should hold when we dot both sides with $b$, which gives $$ (b \cdot \Sigma b) (m \cdot b) = 2(m \cdot b) (\Sigma b \cdot b). $$ If the quantities in parentheses are both nonzero, then they cancel, leaving us with the nonsensical equation $1 = 2$. So at least one of them must be $0$.