The Prophet ﷺ said, "Whoever enters an orchard may eat from it, but he must not carry any away in his garment."
حدثنا محمد بن عبد الملك بن أبي الشوارب حدثنا يحيى بن سليم عن عبيد الله بن عمر عن نافع
عن النبي ﷺ قال من دخل حائطا فليأكل ولا يتخذ خبنة
Grading, its chain of transmission is daif. Ibn Majah narrated it in the Book of Trade, chapter "One who passes by people's livestock or an orchard, may he take something from it?", no. 2301, from the hadith of Yahya bin Salim Taifi with this wording, and its chain is daif. The hadith has corroborating narrations.Bayhaqi narrated, 9/359, with a hasan chain, from Umar, who said, "Whoever among you passes by an orchard, let him eat his fill from it, but let him not carry any away in his garment."On this topic there are also narrations from Abdullah bin Amr [to come, 1289], Abbad bin Shurahbil [Abu Dawud, no. 2620, 2621, and Ibn Majah, no. 2298], Rafi bin Amr [to come, 1288], Umayr the freedman of Abu Lahm [Ahmad, 5/223], and Abu Hurairah [Ibn Majah, no. 2303].