EN
An array of miniature Hall sensors is used to study the magnetic flux penetration in a ferromagnetic/superconducting bilayer consisting of Nb as a superconducting layer and Co/Pt multilayer with perpendicular magnetic anisotropy as a ferromagnetic layer, separated by an amorphous Si layer to avoid the proximity effect. It is found that the magnetic domains in the ferromagnetic layer create a large edge barrier in the superconducting layer which delays flux penetration. The smooth flux profiles observed in the absence of magnetic pinning change into terraced profiles in the presence of domains.