Igneous rock is formed by cooling magma, during this phenomenon everything burns inside it (fossil also) and gets destroyed. Hence, fossils are not found in igneous rocks.
Igneous rocks are formed by the solidification of magma and they have no layers. Fossils cannot be preserved in igneous rocks because in such a hard and compact rock the fossils would die out in the process of formation.