Sunan Ibn Majah, Book 20, Hadith 55 (Ibn Majah 2589)

It was narrated that Ibn Muhairiz said:

“I asked Fadalah bin Ubaid about hanging the hand (of the thief) from this neck, and he said: 'It is sunnah. The messenger of Allah (ﷺ) cut off a man's hand then hung it from his neck'''