A horizontal layer of magnetic fluid subjected to a vertical temperature gradient and a spatially modulated magnetic field is considered. For the case of symmetric modulation the initial state characterised by a nonzero flow field is identified. By conducting a linear stability analysis the area of stability of the initial state against small perturbations is determined.