Stomach hardness

At how many weeks do you start feeling your stomach become hard/firm? Does it sometimes happen before AF?