Arabic hadith text
وَحَدَّثَنِي يَحْيَى، عَنْ مَالِكٍ، عَنِ ابْنِ شِهَابٍ، أَنَّهُ قَالَ بَلَغَنِي أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم قَالَ لِرَجُلٍ مِنْ ثَقِيفٍ أَسْلَمَ وَعِنْدَهُ عَشْرُ نِسْوَةٍ حِينَ أَسْلَمَ الثَّقَفِيُّ ‏"‏ أَمْسِكْ مِنْهُنَّ أَرْبَعًا وَفَارِقْ سَائِرَهُنَّ ‏"‏ ‏.‏
Translation

Yahya related to me from Malik that Ibn Shihab said, "I haveheard that the Messenger of Allah, may Allah bless him and grant himpeace, said to a man from Thaqif who had ten wives when he becamemuslim, 'Take four and separate from the rest.' "