It was narrated that 'Abdullah bin Mas'ud said:
"When captives were brought to him, the Prophet (ﷺ) would give the members of one family together (to one person), not wanting to separate them."
English reference: Vol. 3, Book 12, Hadith 2248
Arabic reference: Book 12, Hadith 2333
Read hadith from the major collections in the app, with prayer times and a Qibla compass. Free.