[Machine] She should wait until the time of her menstruation comes and then she should abstain from prayer. After that, she should purify herself and perform the prayer. When the time of her menstruation comes, she should once again abstain from prayer and then purify herself. Indeed, this is from Satan who wants to cause harm to her.
«تَنْتَظِرُ قَدْرَ مَا كَانَتْ تَحِيضُ فَلْتُحَرِّمِ الصَّلَاةَ ثُمَّ لِتَغْتَسِلْ وَلْتُصَلِّ حَتَّى إِذَا كَانَ أَوَانُهَا الَّذِي تَحِيضُ فِيهِ فَلْتُحَرِّمِ الصَّلَاةَ ثُمَّ لِتَغْتَسِلْ فَإِنَّمَا ذَاكَ مِنَ الشَّيْطَانِ يُرِيدُ أَنْ يُكْفِرَ إِحْدَاهُنَّ»