Sayyiduna Abdullah bin Amr (may Allah be pleased with them both) narrates from Sayyiduna Ubayy bin Ka'b (may Allah be pleased with him) that he said: "I said to the Prophet (peace and blessings be upon him): 'And as for those who are pregnant, their term is until they deliver their burden.' Is this (ruling) for the woman divorced with three divorces, or for the one whose husband has died? He (peace and blessings be upon him) said: 'It is for the divorced woman and for the one whose husband has died (both).'"