The convective modes of an inhomogeneously drifting plasma in a shear magne
tic field (a generalization of Suydam's problem) is considered. It is shown
that a sufficiently great shear of E x B velocity drift suppresses the ins
tability in the case of an arbitrary 'magnetic hill'. This result can be co
nsidered again as a Rayleigh theorem analogue.