Alms are only for the poor and the needy , and the officials ( appointed ) over them , and those whose hearts are made to incline ( to truth ) and the ( ransoming of ) captives and those in debts and in the way of Allah and the wayfarer ; an ordinance from Allah ; and Allah is knowing , Wise .