Horses do not have a stone on their legs!
They do have a special bone called the cannon bone—a large, thick bone in the lower leg above the hoof that supports the horse's weight.
You might be thinking of the chestnut, a hard, dark growth on the inside of the leg below the knee or hock. It is not a stone but a thickened area of skin, and its exact purpose is unknown.