Abu Hurairah reported,

The Messenger of Allah ﷺ said that Sulayman bin Dawud, peace be upon them both, said, "Tonight I will visit one hundred women," or "ninety-nine, every one of whom will bear a horseman who will fight in the cause of Allah."His companion said to him, "Say, if Allah wills."But he did not say, "If Allah wills." So none of them conceived except one woman, who bore half a man. By the One in whose hand is Muhammad's soul, had he said, "If Allah wills," they would all have fought in the cause of Allah as horsemen.

Bukhari 2819

Sahih

وقال الليث حدثني جعفر بن ربيعة، عن عبد الرحمن بن هرمز، قال

سمعت أبا هريرة رضى الله عنه

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

البخاري 2819صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Jihad and expeditions
Chapter
Whoever sought children for jihad
Numbering
Darussalam 2819
Bukhari 2819