Abu Hurairah reported,

The Prophet of Allah Sulayman عليه السلام had sixty wives. He said, "Tonight I shall visit all my wives, and every one of them will conceive and give birth to a horseman who will fight in the cause of Allah." So he went around to his wives, but none of them bore a child except one woman, who gave birth to half a boy.The Prophet of Allah ﷺ said, "Had Sulayman said 'if Allah wills,' every one of them would have conceived and borne a horseman who would fight in the cause of Allah."

Azami 8465

Sahih

عن أبي هريرة

أن نبي الله سليمان عليه السلام كان له ستون امرأة فقال: لأطوفن الليلة على نسائي فلتحملن كل امرأة ولتلدن فارسا يقاتل في سبيل الله فطاف على نسائه فما ولدت منهن إلا امرأة ولدت شق غلام قال نبي الله ﷺ: لو كان سليمان استثنى لحملت كل امرأة منهن فولدت فارسا يقاتل في سبيل الله.

الأعظمي 8465صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Stories of the prophets
Chapter
Reports of Sulayman عليه السلام
Section
Number of wives of Sulayman عليه السلام
Numbering
Jami al-Kamil 8465 (2nd edition)
Azami 8465