Amr bin As reported,

The Messenger of Allah ﷺ sent for me and said, "Put on your clothes and your weapons, then come to me."I came to him while he was performing ablution. He looked me up and down, then lowered his gaze and said, "I intend to send you out in command of an army, and Allah will keep you safe and grant you spoils. I will allot you a generous share of wealth."I said, "Messenger of Allah, I did not embrace Islam for the sake of wealth. I embraced Islam out of desire for Islam itself and to be with the Messenger of Allah ﷺ."The Messenger of Allah ﷺ said, "Amr, how excellent is good wealth in the hands of a righteous man."

Azami 3947

Sahih

عن عمرو بن العاص قال

بعث إلي رسول الله ﷺ فقال: خذ عليك ثيابك وسلاحك، ثم ائتني. فأتيته وهو يتوضأ، فصعد في النظر ثم طأطأه فقال: إني أريد أن أبعثك على جيش فيسلمك الله ويغنمك، وأزعب لك من المال زعبة صالحة. قال: فقلت: يا رسول الله ما أسلمت من أجل المال، ولكني أسلمت رغبة في الإسلام، وأن أكون مع رسول الله ﷺ، فقال رسول الله ﷺ: يا عمرو نعما بالمال الصالح للرجل الصالح.

الأعظمي 3947صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Zakat
Chapter
Obligation of zakat, encouragement to pay it, and warning against withholding it
Section
Permissibility of wealth through lawful means
Numbering
Jami al-Kamil 3947 (2nd edition)
Azami 3947