It is narrated from Ibn Umar (may Allah be pleased with them both) that when Ghaylan bin Salamah Thaqafi (may Allah be pleased with him) accepted Islam, he had ten wives. The Prophet (ﷺ) said to him: "Keep four of them (in marriage) and separate from the rest."
Hadith Referenceمسند الإمام الشافعي / كتاب النكاح / 1191
Hadith Takhrijاسناده ضعيف : اخرجه الترمذي ، النكاح، باب ما جاء في الرجل يسلم وعنده عشرة نسوة (1128)۔ وقال سمعت محمد بن اسماعيل البخاري يقول: هذا حديث غير محفوظ ابن ماجه النكاح، باب الرجل يسلم وعنده اكثر من اربع نسوة (1953)۔