عَنْ جَابِرِ بْنِ عَبْدِ اللَّهِ رَضِيَ اللَّهُ عَنْهُمَا قَالَ حَدَّثَتْنِي أُمُّ مُبَشِّرٍ امْرَأَةُ زَيْدِ بْنِ حَارِثَةَ رَضِيَ اللَّهُ عَنْهُ قَالَتْ دَخَلَ عَلَيَّ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ فِي حَائِطٍ فَقَالَ لَكِ هَذَا فَقُلْتُ نَعَمْ فَقَالَ مَنْ غَرَسَهُ مُسْلِمٌ أَوْ كَافِرٌ قُلْتُ مُسْلِمٌ قَالَ مَا مِنْ مُسْلِمٍ يَزْرَعُ أَوْ يَغْرِسُ غَرْسًا فَيَأْكُلُ مِنْهُ طَائِرٌ أَوْ إِنْسَانٌ أَوْ سَبُعٌ زَادَ فِي رِوَايَةٍ أَوْ دَابَّةٌ أَوْ شَيْءٌ إِلَّا كَانَ لَهُ صَدَقَةٌ
Narrated from Sayyida Umm Mubashshir (may Allah be pleased with her), who was the wife of Sayyiduna Zayd bin Harithah (may Allah be pleased with him), she says: The Noble Prophet (peace and blessings be upon him) came to me while I was in a garden. He (peace and blessings be upon him) asked: Is this garden yours? I said: Yes. He (peace and blessings be upon him) asked: Who planted it, a Muslim or a disbeliever? I said: A Muslim. He (peace and blessings be upon him) said: Whenever a Muslim cultivates a crop or plants a tree, and then any bird, human, beast, animal, or anything eats from it, it is charity for him.