Al-Sha'bi said: If the menstruating woman keeps the impurity away from herself, you may do whatever you wish.