Abu Hurairah reported,

Sulayman bin Dawud, peace be upon them both, said, "Tonight I will surely go around to a hundred women, and each one will bear a boy who will fight in the cause of Allah."The angel said to him, "Say, 'If Allah wills.'"But he did not say it and forgot. He went around to all of them, and none of them bore a child except one woman, who delivered half a person.The Prophet ﷺ said, "Had he said, 'If Allah wills,' he would not have broken his oath, and it would have been more likely to fulfill his wish."

Azami 8463

Sahih

عن أبي هريرة قال

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

الأعظمي 8463صحيح
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 8463 (2nd edition)
Azami 8463