First case is permissible, the latter is not allowed.

Can a wife relieve her husband using hands during the days of her menstruation? And if a husband demands from his wife to relieve herself by masturbating during menstruation is it a sin?

Fiqh of Marriage |