Hadithcore
Jami` at-Tirmidhi, 1566
hasan· Darussalam

Narrated Abu Ayyub:

That he heard the Messenger of Allah (ﷺ) say: "Whoever separates between a mother and her child, then Allah will separate between him and his beloved on the Day of Judgement." [Abu 'Eisa said:] There is something on this topic from 'Ali. This Hadith is Hasan Gharib. This is acted upon according to the people of knowledge among the Companions of the Prophet (ﷺ) and others. They dislike separating the captives, the mother and her child, the son and the father, and brothers.

حَدَّثَنَا عُمَرُ بْنُ حَفْصٍ الشَّيْبَانِيُّ، أَخْبَرَنَا عَبْدُ اللَّهِ بْنُ وَهْبٍ، أَخْبَرَنِي حُيَىٌّ، عَنْ أَبِي عَبْدِ الرَّحْمَنِ الْحُبُلِيِّ، عَنْ أَبِي أَيُّوبَ، قَالَ سَمِعْتُ رَسُولَ اللَّهِ صلى الله عليه وسلم يَقُولُ ‏

‏ مَنْ فَرَّقَ بَيْنَ وَالِدَةٍ وَوَلَدِهَا فَرَّقَ اللَّهُ بَيْنَهُ وَبَيْنَ أَحِبَّتِهِ يَوْمَ الْقِيَامَةِ ‏

‏ ‏.‏ قَالَ أَبُو عِيسَى وَفِي الْبَابِ عَنْ عَلِيٍّ ‏.‏ وَهَذَا حَدِيثٌ حَسَنٌ غَرِيبٌ ‏.‏ وَالْعَمَلُ عَلَى هَذَا عِنْدَ أَهْلِ الْعِلْمِ مِنْ أَصْحَابِ النَّبِيِّ صلى الله عليه وسلم وَغَيْرِهِمْ كَرِهُوا التَّفْرِيقَ بَيْنَ السَّبْىِ بَيْنَ الْوَالِدَةِ وَوَلَدِهَا وَبَيْنَ الْوَلَدِ وَالْوَالِدِ وَبَيْنَ الإِخْوَةِ ‏.‏ قَالَ أَبُو عِيسَى وَسَمِعْتُ الْبُخَارِيَّ يَقُولُ سَمِعَ أَبُو عَبْدِ الرَّحْمَنِ الْحُبُلِيُّ مِنْ أَبِي أَيُّوبَ ‏.‏

References2 variants
In-Book Reference
Book 21, Hadith 27
English Reference
Vol. 3, Book 19, Hadith 1566