Sunan Ibn Majah, Book 20, Hadith 51 (Ibn Majah 2585)

It was narrated from Abu Hurairah that the Messenger of Allah (S.A.W.) said:

“May Allah curse the thief! He steals an egg and his hand is cut off, and he steals a rope and his hand is cut off”