It is narrated from Sayyiduna Ibn Umar (may Allah be pleased with them both) that when Ghaylan bin Salamah Thaqafi accepted Islam, he had ten wives in his marriage. The Prophet (peace and blessings of Allah be upon him) said to him: "Select four of them (and divorce the remaining six)."