Sheikh `Abd al-`Azîz b. Bâz
According to the majority of scholars, if the woman’s menstruation ends before sunset, she should pray Zuhr and `Asr. If her menstruation ends before Fajr, she should pray Maghrib and `Ishâ’.
The reason for this is that the time for `Asr is the time for Zuhr for people who have an excuse, like people who are traveling. Likewise, the time of `Ishâ’ is also a time to perform Maghrib for people who have an excuse. The woman’s menstruation is an excuse for her not to pray, so if that excuse ends during the time of `Ishâ’, she must still pray Maghrib, and if that excuse ends during the time of `Asr, she must still pray Zuhr.
Source: Islam Today