It was asked from Sayyiduna Ibn Abbas (may Allah be pleased with them both) about a menstruating woman who hears a verse of prostration. He replied: She will not perform the prostration because prostration is also prayer.
Hadith Referenceسنن دارمي / من كتاب الطهارة / 1037