We prove logarithmic stability in the parabolic inverse problem of determining the space-varying factor in the source, by a single partial boundary measurement of the solution to the heat equation in an infinite closed waveguide, with homogeneous initial and Dirichlet data.