Sahih Muslim, Book 29, Hadith 11 (Muslim 4369)

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.