It is narrated from Abdullah bin Amr (may Allah be pleased with him) with reference to Ubayy bin Ka'b (may Allah be pleased with him) that I asked the Holy Prophet (peace and blessings of Allah be upon him) about the Quranic verse "And for those who are pregnant, their term is until they deliver their burdens" — is this ruling for the woman who has been given three divorces or for the one whose husband has died? The Holy Prophet (peace and blessings of Allah be upon him) said: This ruling is for both.