It is narrated from Abdullah bin Abdur Rahman Makki that the Messenger of Allah, peace and blessings be upon him, said: "The hand will not be cut off for taking fruit hanging on a tree, or for a goat wandering on a mountain. But when the goat comes into its home, or the fruit is picked and placed somewhere to be eaten, then if someone steals it, the hand will be cut off, provided its value is equal to that of a shield." (That is, three dirhams or more.)