Thus the law of contradiction is about things, and not merely about thoughts; and although belief in the law of contradiction is a thought, the law of contradiction itself is not a thought, but a fact concerning the things in the world.
 Bertrand Russell, The Problems of Philosophy (1912). copy citation

Context

“It is not, e.g., the belief that if we think a certain tree is a beech, we cannot at the same time think that it is not a beech; it is the belief that if the tree is a beech, it cannot at the same time be not a beech. Thus the law of contradiction is about things, and not merely about thoughts; and although belief in the law of contradiction is a thought, the law of contradiction itself is not a thought, but a fact concerning the things in the world. If this, which we believe when we believe the law of contradiction, were not true of the things in the world, the fact that we were compelled to think it true would not save the law of contradiction from being false; and this shows that the law is not a law of thought.
source