Hadith 1306B3

قَالَ مَالِك : الْأَمْرُ الْمُجْتَمَعُ عَلَيْهِ عِنْدَنَا : أَنَّ مَنْ رَدَّ وَلِيدَةً مِنْ عَيْبٍ وَجَدَهُ بِهَا، وَكَانَ قَدْ أَصَابَهَا، أَنَّهَا إِنْ كَانَتْ بِكْرًا فَعَلَيْهِ مَا نَقَصَ مِنْ ثَمَنِهَا، وَإِنْ كَانَتْ ثَيِّبًا فَلَيْسَ عَلَيْهِ فِي إِصَابَتِهِ إِيَّاهَا شَيْءٌ، لِأَنَّهُ كَانَ ضَامِنًا لَهَا .
Imam Malik, may Allah have mercy on him, said: In our view, this ruling is agreed upon that if a person buys a slave-girl, then returns her due to a defect, but has already had intercourse with her, then if the slave-girl was a virgin, the buyer must pay for the loss in her value; and if she was previously married (not a virgin), then the buyer does not have to pay anything.
Hadith Reference موطا امام مالك رواية يحييٰ / كتاب البيوع / 1306B3
Hadith Takhrij «فواد عبدالباقي نمبر: 31 - كِتَابُ الْبُيُوعِ-ح: 4»