Sayyiduna Ubayy bin Ka'b (may Allah be pleased with him) says concerning a man who divorces while he is ill: We would keep making his wife his heir until he recovers or she marries, even if he remains (ill) for a year.
Al-Shafi'i (may Allah have mercy on him) said: Others said: She inherits from him as long as the iddah has not ended; and they narrated it from Sayyiduna Umar bin al-Khattab (may Allah be pleased with him) with a chain the like of which is not established among the people of hadith.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الخلع والطلاق / 15130