Sulayman inherited David’s prophethood and dominion. This was not a material inheritance, as prophets do not bequeath their property. It is given away to the poor and needy, not to their relatives. Prophet Muhammad (pbuh) said: “The prophets’ property will not be inherited, and whatever we leave is to be used for charity.” (Sahih Al-Bukhari). “And indeed We gave knowledge to David and Sulayman, and they both said: “All the praises and thanks be to Allah, Who has preferred us above many of His believing slaves!” And Sulayman inherited (the knowledge of) David. He said: “O mankind! We have been taught the language of birds, and on us have been bestowed all things. This, verily, is an evident grace (from Allah).” And there were gathered before Sulayman his hosts of jinns and men, and birds, and they were all set in battle order (marching forwards).