Spending zakah in liberating slaves may take two forms:
1. This zakah can be used to help a contracted slave pay his master. A contracted slave (al 'abd al mukatab) is a slave who has an agreement with his master that upon paying the master an agreed upon amount, the slave gains freedom. God orders Muslims to contract slaves who desire liberating contracts. God also ordains Muslims to help slaves provide the contractual ransom to their masters. God says, "and if any of your slaves ask for a deed in writing [to enable them to earn their freedom for a certain sum] give them such a deed if ye know any good in them; yea, give them something yourselves out of the wealth which God has given you."9 In other words, God also orders the masters to help slaves pay their contractual sum. In addition to this, God assigns a share of zakah for liberating slaves. Abu Hanifah, al Shafi'i, their disciples, and al Laith bin Sa'd, consider the verse of zakah a specific reference to contracted slaves. They present as evidence a report that Ibn 'Abbas interprets the verse " . . . and in liberating slaves," to mean contracted slaves. This is said to be supported by the last sentence of the above mentioned verse.10
2. The second way of liberating is to buy the slave with the proceeds of zakah and liberate him or her. This can be done by the state, a zakah payer, or a group of zakah payers together. This is the opinion of Malik, Ahmad, and Ibn Ishaq. Ibn al 'Arabi argues that this is apparent from the words of the Qur'an, because the word used translates as "necks" which, whenever used in reference to slaves in the Qur'an, means liberating them. If God meant the specific sub-category of contracted slaves, He would have mentioned it by its name. According to Ibn Al 'Arabi, the contracted slave may be given zakah as a person under debt and not under the title of liberating slaves, except by over-generalizing the term.11
Actually, the verse includes both meanings, However, it is said that Ibrahim al Nakha'i and Sa'id bin Jubair, both Followers, do not like purchasing slaves with zakah and then liberating them, since such an action benefits the liberator because of the concept known in Islamic jurisprudence as al wala' [mutual support] between the liberator and the liberated slave. Wala' between them means that if the liberated slave has no other heirs, his liberator may inherit his estate upon his death. Malik argues that since zakah is due for God's sake, the liberator must not gain any personal benefit. Thus, the person who liberates slaves from the proceeds of his own zakah should not be granted the wala' of the freed slave. This wala' belongs to all Muslims as represented by their state.12
Abu 'Ubaid reports that Ibn 'Abbas finds no error in a person liberating slaves with his own zakah and comments that Ibn Abbas is much more of an authority than al Nakha'i and Ibn Jubair, and his opinion is much preferred, especially since al Hasan, a Follower, and the majority of scholars agree with Ibn 'Abbas.13 Abu 'Ubaid adds that even if the liberator may inherit ex-slave's estate as a result of al wala between them, he may also have to pay, for example, the ransom for a killing the liberated slave may commit, in application of the same principle of al wala.14
It should be realized that the difference in opinion applies only to the case where the individual zakah payer liberates slaves out of his or her zakah, but if the Islamic state takes that action, Muslims agree that the state can use any combination of the two forms of slave liberation mentioned above. Some scholars even prefer that the state use the two forms together, as suggested by al Zuhri when he wrote to 'Umar bin 'Abd al Aziz that "the share of liberating slaves is divided into two parts, half for Muslim contracted slaves and the other half for buying Muslim slaves and liberating them."15 Of course, there is no reason for the restriction of dividing this share in half.