The Messenger of Allah ﷺ said, "There are forty virtuous deeds, the highest of which is lending out a goat for its milk. No one performs any of these deeds, hoping for its reward and believing in its promise, except that Allah will admit him to Paradise because of it."
قال رسول الله ﷺ: أربعون خصلة أعلاهن منيحة العنز، ما من عامل يعمل بخصلة منها رجاء ثوابها، وتصديق موعودها، إلا أدخله الله بها الجنة.
Bukhari narrated it in the Book of Gifts (2631) from Musaddad, who said, Isa bin Yunus narrated to us, Uzai narrated to us, from Hassan bin Atiya, from Abu Kabsha Saluli, who said, I heard Abdullah bin Amr, and he mentioned it.Hassan said, We counted what falls short of the gift of a goat, such as returning a greeting, saying "may Allah have mercy on you" to someone who sneezes, removing harmful things from the road, and the like, and we were not able to reach fifteen such qualities.