Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bayhaqi:13187[Chain 1] Abū Ṭāhir al-Faqīh > Abū al-ʿAbbās ʿAbdullāh b. Yaʿqūb al-Karmānī > Muḥammad b. Abū Yaʿqūb > Khālid b. al-Ḥārith > Ḥumayd [Chain 2] al-Qāḍī Abū Bakr Aḥmad b. Kāmil b. Khalaf > Muḥammad b. Ismāʿīl al-Sulamī > Muḥammad b. ʿAbdullāh al-Anṣārī > Ḥumayd al-Ṭawīl > Mūsá b. Anas > Mā Suʾil al-Nabī

[Machine] The prophet Muhammad ﷺ was never asked about anything regarding Islam except that he granted it to them. So, a man came and asked him, and the prophet Muhammad ﷺ commanded him to take some sheep between two mountains. The man then returned to his people and said, "O people, embrace Islam, for Muhammad has given a gift that will eliminate poverty."  

البيهقي:١٣١٨٧أَخْبَرَنَا أَبُو طَاهِرٍ الْفَقِيهُ أنبأ أَبُو الْعَبَّاسِ عَبْدُ اللهِ بْنُ يَعْقُوبَ الْكَرْمَانِيُّ عَنْ مُحَمَّدِ بْنِ أَبِي يَعْقُوبَ ثنا خَالِدُ بْنُ الْحَارِثِ ثنا حُمَيْدٌ ح وَأنبأ أَبُو زَكَرِيَّا بْنُ أَبِي إِسْحَاقَ أنبأ الْقَاضِي أَبُو بَكْرٍ أَحْمَدُ بْنُ كَامِلِ بْنِ خَلَفٍ ثنا مُحَمَّدُ بْنُ إِسْمَاعِيلَ السُّلَمِيُّ ثنا مُحَمَّدُ بْنُ عَبْدِ اللهِ الْأَنْصَارِيُّ ثنا حُمَيْدٌ الطَّوِيلُ عَنْ مُوسَى بْنِ أَنَسٍ قَالَ

مَا سُئِلَ النَّبِيُّ ﷺ عَلَى الْإِسْلَامِ شَيْئًا إِلَّا أَعْطَاهُ إِيَّاهُ فَجَاءَ رَجُلٌ فَسَأَلَهُ فَأَمَرَ لَهُ بِغَنَمٍ بَيْنَ جَبَلَيْنِ فَرَجَعَ إِلَى قَوْمِهِ فَقَالَ يَا قَوْمُ أَسْلِمُوا فَإِنَّ مُحَمَّدًا أَعْطَى عَطِيَّةً لَا يَخْشَى الْفَاقَةَ  

رَوَاهُ مُسْلِمٌ فِي الصَّحِيحِ عَنْ عَاصِمِ بْنِ النَّضْرِ عَنْ خَالِدِ بْنِ الْحَارِثِ

See similar narrations below:

Collected by Muslim, Bayhaqī
muslim:2312aʿĀṣim b. al-Naḍr al-Taymī > Khālid / Ibn al-Ḥārith > Ḥumayd > Mūsá b. Anas from his father

It never happened that Messenger of Allah ﷺ was asked anything for the sake of Islam and he did not give that. There came to him a person and he gave him a large flock (of sheep and goats) and he went back to his people and said: My people, embrace Islam, for Muhammad gives so much charity as if he has no fear of want.  

مسلم:٢٣١٢aوَحَدَّثَنَا عَاصِمُ بْنُ النَّضْرِ التَّيْمِيُّ حَدَّثَنَا خَالِدٌ يَعْنِي ابْنَ الْحَارِثِ حَدَّثَنَا حُمَيْدٌ عَنْ مُوسَى بْنِ أَنَسٍ عَنْ أَبِيهِ قَالَ

مَا سُئِلَ رَسُولُ اللَّهِ ﷺ عَلَى الإِسْلاَمِ شَيْئًا إِلاَّ أَعْطَاهُ قَالَ فَجَاءَهُ رَجُلٌ فَأَعْطَاهُ غَنَمًا بَيْنَ جَبَلَيْنِ فَرَجَعَ إِلَى قَوْمِهِ فَقَالَ يَا قَوْمِ أَسْلِمُوا فَإِنَّ مُحَمَّدًا يُعْطِي عَطَاءً لاَ يَخْشَى الْفَاقَةَ  

bayhaqi:13188[Chain 1] Muḥammad b. ʿAbdullāh al-Ḥāfiẓ > Abū al-Naḍr > al-Dārimī > Mūsá b. Ismāʿīl > Ḥammād b. Salamah [Chain 2] Abū ʿAmr > al-Ḥasan b. Sufyān > Abū Bakr b. Abū Shaybah > Yazīd b. Hārūn > Ḥammād b. Salamah > Thābit > Anas ؓ > a man Saʾal al-Nabī

O people, embrace Islam. By Allah, Muhammad donates so much as if he did not fear want. Anas said that the person embraced Islam for the sake of the world but later he became Muslim until Islam became dearer to him than the world and what it contains. (Using translation from Muslim 2312b)   

البيهقي:١٣١٨٨وَأَخْبَرَنَا مُحَمَّدُ بْنُ عَبْدِ اللهِ الْحَافِظُ أَخْبَرَنِي أَبُو النَّضْرِ ثنا الدَّارِمِيُّ ثنا مُوسَى بْنُ إِسْمَاعِيلَ ثنا حَمَّادُ بْنُ سَلَمَةَ ح قَالَ وَأَخْبَرَنِي أَبُو عَمْرٍو وَاللَّفْظُ لَهُ أنبأ الْحَسَنُ بْنُ سُفْيَانَ ثنا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ ثنا يَزِيدُ بْنُ هَارُونَ عَنْ حَمَّادِ بْنِ سَلَمَةَ عَنْ ثَابِتٍ عَنْ أَنَسٍ ؓ

أَنَّ رَجُلًا سَأَلَ النَّبِيَّ ﷺ غَنَمًا بَيْنَ جَبَلَيْنِ فَأَعْطَاهُ إِيَّاهُ فَأَتَى قَوْمَهُ فَقَالَ أَيْ قَوْمِ أَسْلِمُوا فَوَاللهِ إِنَّ مُحَمَّدًا لَيُعْطِي عَطَاءً مَا يَخَافُ الْفَقْرَ فَقَالَ أَنَسٌ إنْ كَانَ الرَّجُلُ لَيُسْلِمُ مَا يُرِيدُ إِلَّا الدُّنْيَا فَمَا يُسْلِمُ حَتَّى يَكُونَ الْإِسْلَامُ أَحَبَّ إِلَيْهِ مِنَ الدُّنْيَا وَمَا عَلَيْهَا  

رَوَاهُ مُسْلِمٌ فِي الصَّحِيحِ عَنْ أَبِي بَكْرِ بْنِ أَبِي شَيْبَةَ