Abu Huraira reported Allah's Messenger (ﷺ) as saying
Let there be the curse of Allah upon the thief who steals an egg and his hand is cut off, and steals a rope and his hand is cut off.