حَدَّثَنَا الْمِقْدَامُ ، ثَنَا عَبْدُ اللهِ بْنُ يُوسُفَ ، ثَنَا ابْنُ لَهِيعَةَ ، عَنْ عَمْرِو بْنِ دِينَارٍ ، عَنْ عَطَاءِ بْنِ أَبِي رَبَاحٍ ، عَنْ عَبْدِ اللهِ بْنِ عَمْرِو بْنِ الْعَاصِ قَالَ : قَالَ رَسُولُ اللهِ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ : لَا يَغْرِسُ مُسْلِمٌ غَرْسًا ، وَلَا يَزْرَعُ زَرْعًا فَيَأْكُلَ مِنْهُ إِنْسَانٌ ، وَلَا طَائِرٌ ، وَلَا شَيْءٌ ، إِلَّا كَانَ لَهُ أَجْرٌ .
It is narrated from Sayyiduna Abdullah bin Amr bin al-As (may Allah be pleased with them both) that the Messenger of Allah (peace and blessings be upon him) said: "Any Muslim who plants a tree or sows a crop, and then a person, a bird or anything at all eats from it, a reward is written for him."
Related hadith on this topic