Narrated Ibn 'Umar:
That the Prophet (ﷺ) said: Whoever enters an orchard then let him eat, but not take any in his garment.
[He said:] There are narrations on this topic from 'Abdullah bin 'Amr, 'Abbad bin Shurahbil, Rafi' bin 'Amr, 'Umair the freed slave of Abi Al-Lahm, and Abu Hurairah.
[Abu 'Eisa said:] The Hadith of Ibn 'Umar is Gharib Hadith. We do not know of it from this route except from Yahya bin Sulaim. Some of the people of knowledge have permitted the wayfarer to eat from the fruits, and some of them disliked it without paying.