Nafi' (may Allah have mercy on him), the freed slave of Sayyiduna Abdullah bin Umar (may Allah be pleased with them both), said: The daughter of Hafs bin al-Mughirah was married to Abdullah bin Abi Rabi'ah. He divorced her once, then Sayyiduna Umar bin al-Khattab (may Allah be pleased with him) married her. He was told that she was barren and could not bear children, so he divorced her before consummating the marriage. She remained (unmarried) throughout the life of Sayyiduna Umar (may Allah be pleased with him) and part of the caliphate of Sayyiduna Uthman (may Allah be pleased with him). Then Abdullah bin Abi Rabi'ah married her while he was ill, so that she would share in the inheritance with his wives; and there was kinship between him and her.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الوصايا / 12614