It is narrated from Sayyiduna Abdullah bin Umar (may Allah be pleased with them both) that when Sayyiduna Ghaylan bin Salamah al-Thaqafi (may Allah be pleased with him) embraced Islam, he had ten wives in his marriage, whereupon the Prophet (peace and blessings be upon him) said to him: "Choose four of them." In a detailed narration of the same incident, the Messenger of Allah (peace and blessings be upon him) said to him: "Keep four of them (with you)." Then, when the caliphate of Sayyiduna Umar al-Faruq (may Allah be pleased with him) came, Ghaylan (may Allah be pleased with him) divorced his wives and divided his wealth among his sons. When this news reached Sayyiduna Umar (may Allah be pleased with him), he met him and said: "I think that the devil, among the things he steals by eavesdropping (on the heavens), heard some news about your death and cast it into your heart, and most likely you will now remain (alive) only a short while. By Allah! You will take your wives back and take back your wealth, or else I will make these women your heirs and I will order your grave to be stoned, just as the grave of Abu Righal was stoned." The words of another narration are that the Prophet (peace and blessings be upon him) said: "Keep four and separate from the rest."
Imam al-Tirmidhi (may Allah have mercy on him) said that this hadith is not mahfuz (preserved) (as a marfu' report), and that what is correct is what Shu'ayb bin Abi Hamzah and others narrated from Imam al-Zuhri. Moreover, according to Imam al-Bukhari (may Allah have mercy on him), the wording of Imam al-Zuhri's narration is that a man of the tribe of Thaqif divorced his wives, so Sayyiduna Umar (may Allah be pleased with him) said to him: "You will take your wives back, or else I will stone your grave just as the grave of Abu Righal was stoned." Imam al-Hakim and al-Bayhaqi also recorded this hadith, and it has already been mentioned in the Book of Inheritance, under those who divorce their wives for fear (of their taking) inheritance, to deprive them of it.