Abdullah bin Masud reported,

The Messenger of Allah ﷺ said, "Allah has distributed your character among you just as He has distributed your provisions among you. Allah grants worldly things to those He loves and to those He does not love, but He grants faith only to those He loves."

Azami 12973

Sahih

عن عبد الله بن مسعود قال

قال رسول الله ﷺ: إن الله قسم بينكم أخلاقكم، كما قسم بينكم أرزاقكم، وإن الله يعطي الدنيا من يحب ومن لا يحب، ولا يعطي الإيمان إلا من يحب.

الأعظمي 12973صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Tafsir of the great Quran
Chapter
Tafsir of Surah Qasas
Section
His saying, "And those who had wished for his position the previous day began to say, 'How amazing that Allah extends provision for whom He wills of His servants and restricts it. Had Allah not conferred favor on us, He would have caused it to swallow us. How amazing that'"
Numbering
Jami al-Kamil 12973 (2nd edition)
Azami 12973