Making use of the fundamental solution of the heat equation we reformulate and prove the stability of a general quadratic functional equation with n-independent variables in the space of tempered distributions. Moreover, using the Dirac sequence of regularizing functions we extend this result to the Space of distribution.