The correct statement is: The fossil is older than the layer of rock it was formed in.
In geology, the principle of superposition indicates that in any undisturbed sequence of rocks, younger layers are deposited on top of older layers. Therefore, a fossil found within a layer of rock is considered to be older than that layer itself.