O Prophet, when you [Muslims] divorce women, divorce them for [the commencement of] their waiting period and keep count of the waiting period, and fear Allah , your Lord. Do not turn them out of their [husbands’] houses, nor should they [themselves] leave [during that period] unless they are committing a clear immorality. And those are the limits [set by] Allah . And whoever transgresses the limits of Allah has certainly wronged himself. You know not; perhaps Allah will bring about after that a [different] matter.
And when they have [nearly] fulfilled their term, either retain them according to acceptable terms or part with them according to acceptable terms. And bring to witness two just men from among you and establish the testimony for [the acceptance of] Allah . That is instructed to whoever should believe in Allah and the Last day. And whoever fears Allah – He will make for him a way out
And will provide for him from where he does not expect. And whoever relies upon Allah – then He is sufficient for him. Indeed, Allah will accomplish His purpose. Allah has already set for everything a [decreed] extent.
And those who no longer expect menstruation among your women – if you doubt, then their period is three months, and [also for] those who have not menstruated. And for those who are pregnant, their term is until they give birth. And whoever fears Allah – He will make for him of his matter ease.
It is reported that the Companion Ubayy ibn Kab said to the Prophet. “People say that there remain women regarding whom nothing was mentioned in the Quran, the young and those who are pregnant”, then this verse was revealed ( 1K, Q, W ). As three courses ( see 2:228 ) for women who no longer menstruate cannot be determined, they are to wait three months until the divorce is complete. If, however, their spouses have died, they are to wait four months and ten days before they may remarry ( see 2:234 ). But those who are pregnant are to wait until they have delivered before the divorce is considered complete. If you are unsure can be seen as a clarification related to v 1 meaning, “Expel them not from their houses if you are unsure that the waiting period has concluded” (Q). That God appoints ease for those who reverence Him is here understood to mean that, if a couple are mindful of these conditions, God will make it easy for them to reconcile before the divorce is complete (Q). It could also be a general recognition of the difficulties divorce entails, especially during the waiting period when the estranged spouses might continue to have regular contact with each other.