Sunan Ibn Majah, Book 12, Hadith 113 (Ibn Majah 2249)

It was narrated that 'Ali said:

"The Messenger of Allah (ﷺ) gave me two slaves who were brothers, and I sold one of them. He said: 'What happened with the two slaves?' I said: 'I sold one of them.' He said: 'Take him back."'