Muwatta Malik, Book 41, Hadith 22 (USC-MSA)

Yahya related to me from Malik from Abdullah ibn Abd ar-Rahman abu Husayn al-Makki that the Messenger of Allah, may Allah bless him and grant him peace, said, "The hand is not cut off for fruit hanging on the tree and for sheep kept in the mountains. So when they are taken from the fold or the place where the fruit is dried, a hand is cut off for whatever reaches the price of a shield."

وَحَدَّثَنِي عَنْ مَالِكٍ، عَنْ عَبْدِ اللَّهِ بْنِ عَبْدِ الرَّحْمَنِ بْنِ أَبِي حُسَيْنٍ الْمَكِّيِّ، أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم قَالَ ‏ "‏ لاَ قَطْعَ فِي ثَمَرٍ مُعَلَّقٍ وَلاَ فِي حَرِيسَةِ جَبَلٍ ‏" ‏ فَإِذَا آوَاهُ الْمُرَاحُ أَوِ الْجَرِينُ فَالْقَطْعُ فِيمَا يَبْلُغُ ثَمَنَ الْمِجَنِّ ‏.‏

sunnah.com

also referenced under: Book 41, Hadith 1525 (In-Book)