It was narrated from ‘Ali (رضي الله عنه) that he said:
The Messenger of Allah (ﷺ) told me to sell two slaves who were brothers, so I sold them and separated them, I mentioned that to the Prophet (ﷺ) and he said: `Go and take them back, and only sell them together; do not separate them.”