Please contribute generously in order to ensure the continuity of our website InshaAllah.
Praise be to Allah.
The divorce (talaaq) that is prescribed in sharee‘ah is when the husband divorces his wife during the period of purity in which he has not had intercourse with her. If he divorces her during her menses or when she was bleeding following childbirth (nifaas), this is an innovated divorce (talaaq bid‘i).
The fuqaha’ differed concerning the innovated divorce. The majority of them are of the view that it does count as such, but some are of the view that it does not count, because it is an innovated and haraam divorce, because Allah, may He be glorified and exalted, says (interpretation of the meaning): “O Prophet (صلى الله عليه وسلم)! When you divorce women, divorce them at their ‘Iddah (prescribed periods)” [al-Talaaq 65:1]. What is meant is when they are in a state of purity and the husband has not had intercourse with them (during that period of purity). Among those who were of this opinion was Shaykh al-Islam Ibn Taymiyah (may Allah have mercy on him), and he was followed by a number of scholars.
It says in Fataawa al-Lajnah al-Daa’imah (20/58): There are different types of innovated divorce, such as: when a man divorces his wife when she is menstruating or bleeding following childbirth, or during the period of purity in which he has been intimate with her. The correct view is that this does not count as divorce.
Shaykh Ibn Baaz (may Allah have mercy on him) said: Because Allah has prescribed that a woman should be divorced during a state of purity following nifaas or menses, at a time when her husband has not had intercourse with her. This is the divorce (talaaq) that is acceptable in sharee‘ah. So if he divorces her during her menses or nifaas, or during a period of purity in which he has had intercourse with her, this is an innovated divorce and does not count as such according to the correct scholarly opinion, because Allah, may He be glorified and exalted, says (interpretation of the meaning): “O Prophet (صلى الله عليه وسلم)! When you divorce women, divorce them at their ‘Iddah (prescribed periods)” [al-Talaaq 65:1].
What is meant is when they are in a state of purity and the husband has not had intercourse with them. This is what the scholars said about divorcing them at the prescribed period: they should be in a state of purity following menses or nifaas when the husband has not had intercourse with them, or else they should be pregnant. This is what is meant by divorcing women in their prescribed periods.
End quote from Fataawa al-Talaaq, p. 44
See also: Fataawa al-Shaykh Ibn Baaz (21/286)
Based on that, the divorce that you issued when your wife was in nifaas did not count as such.
See also the answer to question no. 110488.
And Allah knows best.