Musa bin Tarif narrates from his father that Sayyiduna Ali (may Allah be pleased with him) distributed something and called a man to do the reckoning. It was said: "If only you had given him something!" He said: "If he wishes, though it is unlawful."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب آداب القاضي / 20442