وَعَنِ ابْنِ عُمَرَ رَضِيَ اللَّهُ عَنْهُ أَنَّ غيلَان بن سَلمَة الثَّقَفِيَّ أَسْلَمَ وَلَهُ عَشْرُ نِسْوَةٍ فِي الْجَاهِلِيَّةِ فَأَسْلَمْنَ مَعَهُ
فَقَالَ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «أَمْسِكْ أَرْبَعًا وَفَارِقْ سَائِرَهُنَّ»
Ibn Umar told that Ghailan ibn Salamah ath-Thaqafi accepted Islam and that he had had ten wives in the pre-Islamic period who accepted Islam along with him; so the Prophet (sallallahu alayhi wa sallam) told him to keep four and separate from the rest of them.