Yahya bin Ayyub narrated that I heard Hakam bin Utaybah (may Allah have mercy on him) say: The predecessors used to like that a menstruating woman should perform ablution at the time of prayer as one does for prayer, then glorify and magnify Allah, that is, recite Subhan Allah, Allahu Akbar, etc.
Hadith Referenceسنن دارمي / من كتاب الطهارة / 1007