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."
قال رسول الله ﷺ: إن الله قسم بينكم أخلاقكم، كما قسم بينكم أرزاقكم، وإن الله يعطي الدنيا من يحب ومن لا يحب، ولا يعطي الإيمان إلا من يحب.
Hakim narrated it (1/33-34) through several chains from Ahmad bin Jinab Masissi, who said, Isa bin Yunus narrated to us, from Sufyan Thawri, from Zubayd, from Mura, from Abdullah bin Masud, and he mentioned it.Through his chain, Bayhaqi also narrated it in Qadaa wal-Qadar (2/625) and said, "Junayd bin Hakeem added in his narration, 'So whoever is stingy with wealth and cannot bring himself to spend it, or fears the enemy and cannot bring himself to fight him, or dreads the night and cannot bring himself to endure its hardship, let him say often, Glory be to Allah, and praise be to Allah, and there is no deity but Allah, and Allah is greatest.'"Hakim said, "This is a sahih hadith. Ahmad bin Jinab Masissi narrated it alone, and this is one of the conditions we set for this book, that we include the unique narrations of trustworthy narrators when we find no defect in them. We have found two corroborators for Isa bin Yunus in it, one of which meets the conditions of the book, namely Sufyan bin Uqba, the brother of Qabisa."He then narrated it through the chain of Sufyan bin Uqba, the brother of Qabisa, from Hamza Zayyat and Sufyan Thawri, from Zubayd, from Mura, from Abdullah bin Masud, from the Prophet ﷺ, and he mentioned the hadith.He said, "As for the corroborator who does not meet the conditions of this book, he is Abdul-Aziz bin Aban, and the hadith is known through him. It has been established as sahih through two corroborators of Isa bin Yunus, and then through a corroborator of Thawri from Zubayd, namely Hamza Zayyat." End of his statement.Bayhaqi quoted part of Hakim's statement, then said, "It has also been narrated through another route from Abdul-Rahman bin Zayd (Ibn Khattab), from his father, as marfu. It has also been narrated through another route from Mura, from Abdullah, as marfu. And Masudi narrated it from his father as mawquf." End of Bayhaqi's statement.Imam Ahmad also narrated it (3672) through another route from Sabbah bin Muhammad, from Mura Hamdani, from Abdullah bin Masud, as marfu, except that Sabbah bin Muhammad Hamdani is daif.Abdul-Rahman bin Mahdi and Muhammad bin Kathir narrated it from Thawri, from Zubayd, and made it mawquf. Muhammad bin Talha and Zuhayr bin Muawiya likewise narrated it.Daraqutni, in his Ilal (5/270-271), graded the mawquf version as sahih. This is plausible, but it does not rule out the soundness of the marfu version, given how many narrators reported it that way, and given that a matter like this could not be a matter of personal opinion, for what Allah loves and what He dislikes is a matter of religious law, not subject to independent reasoning. Perhaps Ibn Masud reported it as marfu at times and as mawquf at other times for some reason, as is known to be his practice in many hadiths.