Hadith 1385B6

قَالَ مَالِكٌ : فِيمَنِ اشْتَرَى جَارِيَةً أَوْ دَابَّةً فَوَلَدَتْ عِنْدَهُ، ثُمَّ أَفْلَسَ الْمُشْتَرِي، فَإِنَّ الْجَارِيَةَ أَوِ الدَّابَّةَ وَوَلَدَهَا لِلْبَائِعِ، إِلَّا أَنْ يَرْغَبَ الْغُرَمَاءُ فِي ذَلِكَ فَيُعْطُونَهُ حَقَّهُ كَامِلًا، وَيُمْسِكُونَ ذَلِكَ.
Imam Malik, may Allah have mercy on him, said that if a person buys a slave-girl or an animal, and then that slave-girl or animal gives birth to a child while with the buyer, and after that the buyer becomes insolvent, then the child will belong to the seller. However, if the creditors pay the full price to the seller, then they can keep both the child and its mother.
Hadith Reference موطا امام مالك رواية يحييٰ / كتاب البيوع / 1385B6
Hadith Takhrij «فواد عبدالباقي نمبر: 31 - كِتَابُ الْبُيُوعِ-ح: 88»