Anas bin Malik reported,

The Messenger of Allah ﷺ was never asked for anything in exchange for accepting Islam without giving it. A man once came to him, and he gave him a flock of sheep filling the space between two mountains. The man returned to his people and said, "My people, embrace Islam, for Muhammad gives so generously that he fears no poverty."In another narration, the man asked the Prophet ﷺ for a flock of sheep between two mountains, and he gave it to him. The hadith continues, and in it Anas said, "A man would embrace Islam wanting nothing but worldly gain, yet before long Islam would become dearer to him than the world and all it contains."

Azami 9488

Sahih

عن أنس قال

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

الأعظمي 9488صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Biography of the Prophet ﷺ
Chapter
Character of the Prophet ﷺ
Section
Generosity of the Prophet ﷺ and his abundant giving
Numbering
Jami al-Kamil 9488 (2nd edition)
Azami 9488