I'm trying to see why this is the case. I have taken the LHS and added $X\hat{\beta}$ and subtracted $X\hat{\beta}$.
From this I can get both terms on the right but I end up with a cross product term
$2(y-X\hat{\beta})^T(X\hat{\beta} - X\beta)$
that I can't prove equals to zero. I think there is some trick I'm missing, anybody remember it?