Al-jawab billahi at-taufeeq (the answer with Allah's guidance)
If the means of stimulation is one�s spouse�s body, in such a case, and not any self-stimulation, then it is permitted, and not considered to be masturbation.
The wife masturbating the husband and vice versa actually falls in the category of foreplay which is permissible between the husband and wife.