مُسْنَدُ أَحْمَدَ
Musnad Ahmad 3627
Musnad of Abdullah bin Mas'ood
It was narrated that Ibn Mas'ood (رضي الله عنه) said: I heard the Messenger of Allah (ﷺ) say: "There is no cause for envy except in two cases: a man to whom Allah gives wealth and enables him to spend it appropriately, and a man to whom Allah gives wisdom and he rules in accordance with it and teaches it to the people.”
Musnad Ahmad 3651Its isnad is saheeh, al-Bukhari (1409) and Muslim (816)]