The Prophet (ﷺ) said, "Isn't it true that a woman does not pray and does not fast on menstruating? And that is the defect (a loss) in her religion."
Sahih al-Bukhari Book 30, Hadith 58