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:19661al-Shaykh al-Zakī Abū al-Qāsim Manṣūr b. ʿAbd al-Munʿim b. ʿAbdullāh al-Farāwī > Akhbarnā Abū al-Maʿālī Muḥammad b. Ismāʿīl al-Fārisī > al-Imām al-Ḥāfiẓ Aḥmad b. al-Ḥusayn b. ʿAlī al-Bayhqī > Ghayr Wāḥid from Ashyākhinā > Zāhir b. Ṭāhir al-Shaḥḥāmī > al-Imām al-Ḥāfiẓ Abū Bakr Aḥmad b. al-Ḥusayn al-Bayhaqī ؒ > Abū Bakr Muḥammad b. al-Ḥasan b. Fūrak > ʿAbdullāh b. Jaʿfar al-Aṣbahānī > Yūnus b. Ḥabīb > Abū Dāwud al-Ṭayālisī > Shuʿbah > Abū Bishr > ʿAbbād b. Shuraḥbīl

[Machine] I arrived at the city and hunger struck me severely, so I entered a garden and took a stalk of wheat and ate from it and put some in my garment. Then the owner of the garden came and struck me and took what was in my garment. So we went to the Prophet ﷺ and mentioned that to him. The Messenger of Allah ﷺ said, "Did you teach him when he was ignorant and did you feed him when he was hungry?" So he ordered me to give him half of a wasq of barley.  

البيهقي:١٩٦٦١أَخْبَرَنَا الشَّيْخُ الزَّكِيُّ أَبُو الْقَاسِمِ مَنْصُورُ بْنُ عَبْدِ الْمُنْعِمِ بْنِ عَبْدِ اللهِ الْفَرَاوِيُّ قَالَ أَخْبَرنَا أَبُو الْمَعَالِي مُحَمَّدُ بْنُ إِسْمَاعِيلَ الْفَارِسِيُّ قَالَ أَخْبَرَنَا الْإِمَامُ الْحَافِظُ أَحْمَدُ بْنُ الْحُسَيْنِ بْنِ عَلِيٍّ الْبَيْهقِيُّ وَأَنْبَأَنَا غَيْرُ وَاحِدٍ مِنْ أَشْيَاخِنَا عَنْ زَاهِرِ بْنِ طَاهِرٍ الشَّحَّامِيِّ قَالَ أَخْبَرَنَا الْإِمَامُ الْحَافِظُ أَبُو بَكْرٍ أَحْمَدُ بْنُ الْحُسَيْنِ الْبَيْهَقِيُّ رَحِمَهُ اللهُ قَالَ أَخْبَرَنَا أَبُو بَكْرٍ مُحَمَّدُ بْنُ الْحَسَنِ بْنِ فُورَكٍ أنبأ عَبْدُ اللهِ بْنُ جَعْفَرٍ الْأَصْبَهَانِيُّ ثنا يُونُسُ بْنُ حَبِيبٍ ثنا أَبُو دَاوُدَ الطَّيَالِسِيُّ ثنا شُعْبَةُ عَنْ أَبِي بِشْرٍ عَنْ عَبَّادِ بْنِ شُرَحْبِيلَ قَالَ

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


See similar narrations below:

Collected by Ibn Mājah, Aḥmad, Ḥākim
ibnmajah:2298[Chain 1] Abū Bakr b. Abū Shaybah > Shabābah b. Sawwār [Chain 2] Muḥammad b. Bashhār And Muḥammad b. al-Walīd > Muḥammad b. Jaʿfar > Shuʿbah > Abū Bishr Jaʿfar b. Iyās > ʿAbbād b. Shuraḥbīl a man from Banī Ghubar

“I heard 'Abbad bin Shurahbil, a man from Banu Ghubar, say: ‘We suffered a year of famine, and I came to Al-Madinah. I came to one of its gardens and took an ear of corn, I rubbed it, ate some and put the rest in my garment. The owner of the garden came and beat me and took my garment. I came to the Prophet ﷺ and told him (what had happened). He said to the man: "You did not feed him when he was hungry and you did not teach him when he was ignorant."' Then the Prophet ﷺ told him to give back his garment and ordered that a Wasq or half a Wasq of food be brought to him."  

ابن ماجة:٢٢٩٨حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ حَدَّثَنَا شَبَابَةُ بْنُ سَوَّارٍ ح وَحَدَّثَنَا مُحَمَّدُ بْنُ بَشَّارٍ وَمُحَمَّدُ بْنُ الْوَلِيدِ قَالاَ حَدَّثَنَا مُحَمَّدُ بْنُ جَعْفَرٍ حَدَّثَنَا شُعْبَةُ عَنْ أَبِي بِشْرٍ جَعْفَرِ بْنِ إِيَاسٍ قَالَ سَمِعْتُ عَبَّادَ بْنَ شُرَحْبِيلَ رَجُلاً مِنْ بَنِي غُبَرَ قَالَ

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

ahmad:17521Muḥammad b. Jaʿfar > Shuʿbah > Abū Bishr

I suffered from drought; so I entered a garden of Medina, and rubbed an ear-corn. I ate and carried in my garment. Then its master came, he beat me and took my garment. He came to the Messenger of Allah ﷺ who said to him: You did not teach him if he was ignorant; and you did not feed him if he was hungry. He ordered him, so he returned my garment to me, and gave me one or half a wasq (sixty or thirty sa's) of corn. (Using translation from Abū Dāʾūd 2620)   

أحمد:١٧٥٢١حَدَّثَنَا مُحَمَّدُ بْنُ جَعْفَرٍ حَدَّثَنَا شُعْبَةُ عَنْ أَبِي بِشْرٍ قَالَ سَمِعْتُ عَبَّادَ بْنَ شُرَحْبِيلَ وَكَانَ مِنَّا مِنْ بَنِي غُبَرَ قَالَ

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

hakim:7182Abū Bakr Aḥmad b. Salmān al-Faqīh> Aḥmad b. ʿUbaydullāh al-Narsī > Rawḥ b. ʿUbādah > Shuʿbah > Abū Bishr > ʿAbbād b. Shuraḥbīl

[Machine] We were struck by famine, so I went to the city and entered one of its walls. I took a handful of grain, rubbed it, ate from it, and put some in my garment. The owner of the wall came and struck me and took my garment. So, I went to the Prophet ﷺ and he said, "Did you not know that if you were ignorant, you shouldn't have eaten from it? And if you were in need, you should have asked, and I would have provided for you." He returned my garment and ordered for me to be given half a sa' or a sa' of food.  

الحاكم:٧١٨٢حَدَّثَنَا أَبُو بَكْرٍ أَحْمَدُ بْنُ سَلْمَانَ الْفَقِيهُ بِبَغْدَادَ ثَنَا أَحْمَدُ بْنُ عُبَيْدِ اللَّهِ النَّرْسِيُّ ثَنَا رَوْحُ بْنُ عُبَادَةَ ثَنَا شُعْبَةُ عَنْ أَبِي بِشْرٍ قَالَ سَمِعْتُ عَبَّادَ بْنَ شُرَحْبِيلَ قَالَ

أَصَابَتْنَا مَجَاعَةٌ فَأَتَيْتُ الْمَدِينَةَ فَدَخَلْتُ حَائِطًا مِنْ حِيطَانِهَا فَأَخَذْتُ سُنْبُلًا فَفَرَكْتُهُ فَأَكَلْتُ مِنْهُ وَجَعَلْتُ مِنْهُ فِي ثَوْبِي فَجَاءَ صَاحِبُ الْحَائِطِ فَضَرَبَنِي وَأَخَذَ ثَوْبِي فَأَتَيْتُ النَّبِيَّ ﷺ فَقَالَ «مَا عَلِمْتَهُ إِذَا كَانَ جَاهِلًا وَلَا أَطْعَمْتَهُ إِذَا كَانَ سَاغِبًا أَوْ جَائِعًا» قَالَ فَرَدَّ عَلَيَّ الثَّوْبَ وَأَمَرَ لِي بِنِصْفِ وَسْقٍ أَوْ وَسْقٍ  

«هَذَا حَدِيثٌ صَحِيحُ الْإِسْنَادِ وَلَمْ يُخَرِّجَاهُ» صحيح