Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
quran:2:247

And their prophet said to them, "Indeed, Allah has sent to you Saul as a king." They said, "How can he have kingship over us while we are more worthy of kingship than him and he has not been given any measure of wealth?" He said, "Indeed, Allah has chosen him over you and has increased him abundantly in knowledge and stature. And Allah gives His sovereignty to whom He wills. And Allah is all-Encompassing ˹in favor˺ and Knowing."  

Then their prophet said to them, ‘Verily God has raised up Saul for you as king’ They said, ‘How can he be king over us when we have better right than he to kingship, since he is not of the tribe of monarchs or that of prophets; he ˹Saul˺ was a tanner or a shepherd; seeing he has not been given amplitude of wealth?’ which he can use to establish a kingdom. He, the prophet, said, to them, ‘God has chosen him over you, for kingship, and has increased him broadly, amply, in knowledge and body: at that time, he was the most knowledgeable and the most handsome of all the Children of Israel, and the most perfect of character. God gives the kingship to whom He will, in the way He does, and there can be no objection; and God is Embracing, in His bounty, Knowing, of those who deserve it.
القرآن:٢:٢٤٧

وَقَالَ لَهُمْ نَبِيُّهُمْ إِنَّ اللَّهَ قَدْ بَعَثَ لَكُمْ طَالُوتَ مَلِكًا ۚ قَالُوا أَنَّىٰ يَكُونُ لَهُ الْمُلْكُ عَلَيْنَا وَنَحْنُ أَحَقُّ بِالْمُلْكِ مِنْهُ وَلَمْ يُؤْتَ سَعَةً مِنَ الْمَالِ ۚ قَالَ إِنَّ اللَّهَ اصْطَفَاهُ عَلَيْكُمْ وَزَادَهُ بَسْطَةً فِي الْعِلْمِ وَالْجِسْمِ ۖ وَاللَّهُ يُؤْتِي مُلْكَهُ مَنْ يَشَاءُ ۚ وَاللَّهُ وَاسِعٌ عَلِيمٌ  

{وقال لهم نبيهم إن الله قد بعث لكم طالوت ملكا قالوا أنَى} كيف {يكون له الملك علينا ونحن أحق بالملك منه} لأنه ليس من سبط المملكة ولا النبوة وكان دباغا أو راعيا {ولم يؤت سعة من المال} يستعين بها على إقامة الملك {قال} النبي لهم {إن الله اصطفاه} اختاره للملك {عليكم وزاده بسطة} سعة {في العلم والجسم} وكان أعلم بني إسرائيل يومئذ وأجملهم وأتمهم خلقا {والله يؤتي ملكه من يشاء} إيتاءه لا اعتراض عليه {والله واسع} فضله {عليم} بمن هو أهل له.