Sahih al-Bukhari 6720
Ali bin Abdullah narrated to us that Sufyan (bin Uyainah) told us. He narrated from Hisham bin Hujair, Hisham from Tawus. He heard Hazrat Abu Hurairah (ra). He used to say that Hazrat Solomon (as) said: “Tonight I shall go round to ninety wives. Each wife will give birth to a boy who will strive (Jihad) in the way of Allah.” Then Hazrat Solomon's (as) companion, Sufyan used to say: that is, the angel, said to him: “Say In sha Allah (if Allah wills).” But he forgot and went to those wives. None of those wives gave birth to a child except one wife, and that too an incomplete child. Hazrat Abu Hurairah (ra), narrating this hadith, used to say that he (saw) said: “Had he said In sha Allah, his oath would not have been broken, and that oath would have fulfilled his need.” And sometimes (Hazrat Abu Hurairah (ra)) said thus: The Messenger of Allah (saw) said: “If Hazrat Solomon (as) had said it, making the exception.” And Abuz Zinad, narrating from A'raj, told us the same as the hadith of Hazrat Abu Hurairah (ra).
AI-translated by Islam-Today