عَنْ عَائِشَةَ رَضِيَ اللَّهُ عَنْهَا أَنَّ رَجُلًا ابْتَاعَ غُلَامًا اسْتَغَلَّهُ ثُمَّ وَجَدَ أَوْ رَأَى بِهِ عَيْبًا فَرَدَّهُ بِالْعَيْبِ فَقَالَ الْبَائِعُ غَلَّةُ عَبْدِي فَقَالَ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ الْغَلَّةُ بِالضَّمَانِ وَفِي لَفْظٍ الْخَرَاجُ بِالضَّمَانِ
It is narrated from Sayyidah Aisha (may Allah be pleased with her) that a man bought a slave and benefited from him, but later he found a defect in him and returned him. The seller said: The earnings of my slave (should also be given to me). The Prophet (peace and blessings be upon him) said: The earnings (and profit) are in exchange for the guarantee.