Is it permissible to buy goods for the poor with zakah funds instead if giving it to them in cash?
Question

I owe zakah on my wealth. Is it permissible for me to buy food or clothing with the zakah money and give them to the poor, instead of giving them cash, because if I give them cash they may spend it on things that are not beneficial, or they may spend it on sinful things?.
Praise be to Allah.The basic principle is that zakah should be taken from the wealth on which zakah is due, and given to the poor as it is. 
Shaykh al-Islam Ibn Taymiyah (may Allah have mercy on him) was asked about a man who owed zakah: is it permissible for him to give it to his needy relatives or can he buy clothes or foodstuff for them with it? 
He replied: 
It is permissible to give zakah to those who are entitled to it, even if they are relatives who are not among his dependents, but he should give them of his wealth, and they may delegate someone to buy whatever they want with it. 
The Standing Committee for Issuing Fatwas was asked about buying Islamic books with zakah wealth and distributing them. They replied: It is not permissible to buy books with zakah wealth and give them away, rather the wealth itself should be given to those who are entitled to it, as mentioned by Allah in His Book where He said (interpretation of the meaning): 
“As-Sadaqaat (here it means zakah) are only for the Fuqaraa’ (poor), and Al‑Masaakeen(the poor) and those employed to collect (the funds); and to attract the hearts of those who have been inclined (towards Islam);…”
[al-Tawbah 9:60]
And Allah is the Source of strength. May Allah send blessings and peace upon our Prophet Muhammad and upon his family and companions. 
Fatawa al-Lajnah al-Daa’imah, 10/47 
If a person who is entitled to zakah is a sinner and there is the fear that he may use some of this money for sinful purposes, then we should give the zakah to one who spends on him, or to someone whom we trust will buy him what he needs. 
Shaykh Muhammad al-Saalih al-‘Uthaymeen (may Allah have mercy on him) said: 
If a person who is addicted to smoking is poor, then we can give the zakah to his wife and she can buy things herself that are needed for the house, and we can tell him: We have zakah, do you want us to buy you such and such of essential needs? We can ask him to delegate us to buy these things, and in this way we will achieve the desired goal and avoid something haraam – which is helping him to commit sin, because the one who gives a dirham to a person to buy cigarettes with has helped him to commit sin and has done something that Allah has forbidden, as He says (interpretation of the meaning):
“do not help one another in sin and transgression”[al-Maa’idah 5:2]
Majmoo’ Fataawa al-Shaykh Ibn ‘Uthaymeen (17/question no. 262) 
He was also asked: Is it permissible to give zakah in the form of consumable goods and clothing, if it is known that in the case of some poor families it is better to buy these things for them, because there is the fear that if they are given cash, they will spend it on things in which there is no benefit? 
He replied: 
This is an important matter which people need to know: if the people of this household are poor, and if we give them money they will waste it by buying luxuries and things that are of no benefit, so is it permissible for us to buy them essential needs and give them to them? 
What is known to the scholars is that it is not permissible to do this, i.e., it is not permissible for a person to buy specific things with his zakah and give them instead of money. They said: That is because money is more beneficial to the poor, because he can spend the money however he wants, unlike specific goods of which he may have no need, in which case he will sell them for less. 
But there is a way around this if you fear that if you give money to this family, they will spend it on things they do not need. You can say to the head of the household – whether that is the father, the mother, the brother or the uncle: I have zakah, what are the things you need, so that I can buy them for you and send them to you? If you do it in this way, that is permissible, and the zakah will be given as it should be. 
Majmoo’ Fatawa Ibn ‘Uthaymeen, (18/question no. 643) 
And Allah knows best.