Hadithcore
Musnad Ahmad 3690
hasan

It was narrated that 'Abdullah (رضي الله عنه) said:

Prisoners would be brought to the Messenger of Allah (ﷺ) and he would give an entire family (to someone as slave), because he did not want to separate them.

References1 variant
Arabic/English book
Book 26, Hadith 3690