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:13168Zayd b. Aslam > ʿAṭāʾ b. Yasār > Abū Saʿīd al-Khudrī

[Machine] The Messenger of Allah ﷺ said, "Charity is not permissible for a wealthy person unless it is given to five people: a person who works for it, or a person who buys it with his money, or a needy person who is endowed with it and then gives it to a wealthy person, or a debt-laden person, or a warrior in the cause of Allah." At-Thawri narrated it from Zaid and said, "Layth narrated it from the Prophet ﷺ , and sometimes a man from the companions of the Prophet ﷺ narrated it, and Abu Azhar As-Saliti narrated it from Abdul Razzaq, from Ma'mar, and At-Thawri narrated it from Zaid ibn Aslam, as well."  

البيهقي:١٣١٦٨وَرَوَاهُ الثَّوْرِيُّ عَنْ زَيْدِ بْنِ أَسْلَمَ عَنْ عَطَاءِ بْنِ يَسَارٍ عَنْ أَبِي سَعِيدٍ الْخُدْرِيِّ قَالَ

قَالَ رَسُولُ اللهِ ﷺ لَا تَحِلُّ الصَّدَقَةُ لِغَنِيٍّ إِلَّا لِخَمْسَةٍ لِرَجُلٍ عَامَلٍ عَلَيْهَا أَوْ رَجُلٍ اشْتَرَاهَا بِمَالِهِ أَوْ مِسْكِينٍ تُصُدِّقَ عَلَيْهِ بِهَا فَأَهْدَاهَا لِغَنِيٍّ أَوْ غَارِمٍ أَوْ غَازٍ فِي سَبِيلِ اللهِ ﷻ وَرَوَاهُ الثَّوْرِيُّ عَنْ زَيْدٍ فَقَالَ حَدَّثَنِي اللَّيْثُ عَنِ النَّبِيِّ ﷺ وَتَارَةً عَنْ رَجُلٍ مِنْ أَصْحَابِ النَّبِيِّ ﷺ وَرَوَاهُ أَبُو الْأَزْهَرِ السَّلِيطِيُّ عَنْ عَبْدِ الرَّزَّاقِ عَنْ مَعْمَرٍ وَالثَّوْرِيُّ عَنْ زَيْدِ بْنِ أَسْلَمَ كَمَا  

رَوَاهُ مَعْمَرٌ وَحْدَهُ 13168 أَخْبَرَنَا أَبُو الْحَسَنِ الْعَلَوِيُّ أنبأ أَبُو حَامِدِ بْنُ الشَّرْقِيِّ ثنا أَبُو الْأَزْهَرِ ثنا عَبْدُ الرَّزَّاقِ أنبأ مَعْمَرٌ وَالثَّوْرِيُّ عَنْ زَيْدِ بْنِ أَسْلَمَ عَنْ عَطَاءِ بْنِ يَسَارٍ عَنْ أَبِي سَعِيدٍ ؓ قَالَ قَالَ رَسُولُ اللهِ ﷺ فَذَكَرَهُ بِمَعْنَاهُ