“We used to menstruate at the time of the Prophet (ﷺ), and he would order us to make up for the (missed) fasts.’”
Sunan Ibn Majah Book 7, Hadith 33