Let us have two matrices: $A,B$ which are both $n$ x $n$ type, and $AB+A+B=0$ stands. Prove, that in this case, $AB = BA$.

I tried to do such matrices, and the statement stands, but how should I do a proving in general? Thanks!