[Machine] Regarding prayer during menstruation, if a woman becomes clean before the seventh day, then she may perform the prayer, otherwise, she should refrain from praying until she becomes clean. However, if she becomes clean before the tenth day, then she may perform the prayer. If not, she should wash herself, perform ablution, and then pray while in a state of istihadah (minor ritual impurity).
عَنِ الصَّلَاةِ فِي حَيْضِهَا سَبْعًا فَإِنْ طَهُرَتْ فَذَاكَ وَإِلَّا أَمْسَكَتْ مَا بَيْنَهَا وَبَيْنَ الْعَشْرِ فَإِنْ طَهُرَتْ فَذَاكَ وَإِلَّا اغْتَسَلَتْ وَصَلَّتْ وَهِيَ مُسْتَحَاضَةٌ»