Abd al-Rahman bin Ghanm (may Allah have mercy on him) said: I was present with Sayyiduna Umar (may Allah be pleased with him) when he was asked about this, and he said: She has her house. A man said to him: O Commander of the Believers, then they (the women) will divorce us! He said: Rights are settled according to the conditions.
The first narration is closer to the Book, the Sunnah and the view of the other Companions (may Allah be pleased with them).
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الصداق / 14438