Once again, I would like to draw your attention to Ask Ghamidi Code of Conduct. Please understand that Ask Ghamidi is not a regular discussion board where anyone can post whatever they like. Instead it’s an educational forum where we try to answer questions raised by people so that they may be able to understand their religion better. The language you used in this question was very inappropriate, especially in reference to a prophet of God. It has been edited in hopes that it will help you see with an example how you can ask the same question in a more civil and academic manner while still conforming to the Code of Conduct.
The first thing that you should understand in reference to your question is that the entire hadith corpus that we have available today consists of narrations that have been transmitted by individuals and Prophet Muhammad SAW has no responsibility of what was heard, understood, or narrated. There are many examples of errors and omissions in hadith narrations, therefore they must be understood in the light of the Quran and the Sunnah. When the entire message of the Quran as well as all the teachings of Prophets of God are about morality, it’s inconceivable to assume any immoral behavior from them.
The hadith narration in question has been criticized by certain scholars because it’s impossible for a person to have intercourse with so many women in one night. The number of women in the narration has also been disputed since different numbers appear in different hadith collections.
If the hadith narration is in fact true, there’s no reason to assume that those women were not the wives of Solomon SAW.
Finally, one must understand that in the past the humanity lived a life that was extremely different from the life as we know it today. The only protection that people had against aggression of others was from their own family members. It was not uncommon for men to have many wives as well as dozens of children. The number of children a person had was the sign of his strength within his comments. It should not be a surprise to anyone if Solomon AH had many wives (whatever the number may be) and he desired many children.