The one-dimensional Ising model is analytically studied in a spatially periodic and oscillatory external magnetic field using the transfer-matrix method. For low enough magnetic field intensities the correlation between the external magnetic field and the response in magnetization presents a maximum for a given temperature. The phenomenon can be interpreted as a resonance phenomenon induced by the stochastic heat bath. This "spatial stochastic resonance" is realized in the equilibrium state and not as a dynamical response to the external time-periodic driving.