The correct statement is:
The fossil is older than the layer of rock it was formed in.
In the context of relative dating, fossils found in sedimentary rock are typically older than the rock layers themselves, as they were formed before the rock encased them.