Malik related to me that he had heard that Abdullah ibn Umar was asked whether a slave could be bought on the specific condition that it was to be used to fulfil the obligation of freeing a slave, and he said, "No." Malik said, "That is the best of what I have heard on the obligation of freeing slaves. Someone who has to set a slave free because of an obligation on him, may not buy one on the condition that he sets it free because if he does that, whatever he buys is not completely a slave because he has reduced its price by the condition he has made of setting it free." Malik added, "There is no harm, however, in someone buying a person expressly to set him free." Malik said, "The best of what I have heard on the obligation of freeing slaves is that it is not permitted to free a christian or a jew to fulfil it, and one does not free a mukatab or a mudabbar or an umm walad or a slave to be freed after a certain number of years, or a blind person. There is no harm in freeing a christian, jew, or magian voluntarily, because Allah, the Blessed, the Exalted, said in His Book, 'either as a favour then or by ransom,' (Sura 47 ayat 4) The favour is setting free." Malik said, "As for obligations of freeing slaves which Allah has mentioned in the Book, one only frees a mumin slave for them." Malik said, "It is like that in feeding poor people for kaffara. One must only feed muslims and one does not feed anyone outside of the deen of Islam."
سَمِعْتُ فِي الرِّقَابِ الْوَاجِبَةِ أَنَّهُ لاَ يَشْتَرِيهَا الَّذِي يُعْتِقُهَا فِيمَا وَجَبَ عَلَيْهِ بِشَرْطٍ عَلَى أَنْ يُعْتِقَهَا لأَنَّهُ إِذَا فَعَلَ ذَلِكَ فَلَيْسَتْ بِرَقَبَةٍ تَامَّةٍ لأَنَّهُ يَضَعُ مِنْ ثَمَنِهَا لِلَّذِي يَشْتَرِطُ مِنْ عِتْقِهَا قَالَ مَالِكٌ وَلاَ بَأْسَ أَنْ يَشْتَرِيَ الرَّقَبَةَ فِي التَّطَوُّعِ وَيَشْتَرِطَ أَنْ يُعْتِقَهَا قَالَ مَالِكٌ إِنَّ أَحْسَنَ مَا سُمِعَ فِي الرِّقَابِ الْوَاجِبَةِ أَنَّهُ لاَ يَجُوزُ أَنْ يُعْتَقَ فِيهَا نَصْرَانِيٌّ وَلاَ يَهُودِيٌّ وَلاَ يُعْتَقُ فِيهَا مُكَاتَبٌ وَلاَ مُدَبَّرٌ وَلاَ أُمُّ وَلَدٍ وَلاَ مُعْتَقٌ إِلَى سِنِينَ وَلاَ أَعْمَى وَلاَ بَأْسَ أَنْ يُعْتَقَ النَّصْرَانِيُّ وَالْيَهُودِيُّ وَالْمَجُوسِيُّ تَطَوُّعًا لأَنَّ اللَّهَ تَبَارَكَ وَتَعَالَى قَالَ فِي كِتَابِهِ فَإِمَّا مَنًّا بَعْدُ وَإِمَّا فِدَاءً فَالْمَنُّ الْعَتَاقَةُ قَالَ مَالِكٌ فَأَمَّا الرِّقَابُ الْوَاجِبَةُ الَّتِي ذَكَرَ اللَّهُ فِي الْكِتَابِ فَإِنَّهُ لاَ يُعْتَقُ فِيهَا إِلاَّ رَقَبَةٌ مُؤْمِنَةٌ قَالَ مَالِكٌ وَكَذَلِكَ فِي إِطْعَامِ الْمَسَاكِينِ فِي الْكَفَّارَاتِ لاَ يَنْبَغِي أَنْ يُطْعَمَ فِيهَا إِلاَّ الْمُسْلِمُونَ وَلاَ يُطْعَمُ فِيهَا أَحَدٌ عَلَى غَيْرِ دِينِ الإِسْلاَمِ