All perfect praise be to Allaah, The Lord of the Worlds. I testify that there is none worthy of worship except Allaah, and that Muhammad is His slave and Messenger.
The history and biography books stated that the Prophet Daawood (David) had 100 wives, and that the Prophet Sulaymaan (Solomon) had 1,000 wives, among whom were 300 captives (slaves).
Uriah, the mother of Sulaymaan was one of the wives of prophet Daawood .
Regarding the wisdom why Sulaymaan had so many wives, Al-Qurtubi stated: “It is said that Sulaymaan was the Prophet who had the largest number of wives because he had the strength of 40 Prophets; and the stronger a person is, the more wives he marries. It is also said that he married so many wives in order to have more tribes supporting him, as each wife has two tribes, one from the father's side and the second from the mother's side, so every time he marries a woman, he gets the support of the two tribes against his enemies. It is also said that the more pious a person is, the stronger his sexual desires are.”
Allaah Knows best.