Sunan Ibn Majah, Hadith 2301 ⓘ
It was narrated from Ibn 'Umar that the Messenger of Allah said: "When anyone of you passes by a garden let him eat therefrom, but he should not carry any away in his garment."'
حَدَّثَنَا هَدِيَّةُ بْنُ عَبْدِ الْوَهَّابِ، وَأَيُّوبُ بْنُ حَسَّانَ الْوَاسِطِيُّ، وَعَلِيُّ بْنُ سَلَمَةَ، قَالُوا حَدَّثَنَا يَحْيَى بْنُ سُلَيْمٍ الطَّائِفِيُّ، عَنْ عُبَيْدِ اللَّهِ بْنِ عُمَرَ، عَنْ نَافِعٍ، عَنِ ابْنِ عُمَرَ، قَالَ قَالَ رَسُولُ اللَّهِ ـ صلى الله عليه وسلم ـ " إِذَا مَرَّ أَحَدُكُمْ بِحَائِطٍ فَلْيَأْكُلْ وَلاَ يَتَّخِذْ خُبْنَةً " .
also referenced under: Book 12, Hadith 2389 (In-Book) & Volume 3, Book 12, Hadith 2301 (DarusSalam)