Salim reports from Ibn Umar (may Allah be pleased with them both) that he used to have the wealth of orphans with him, and he would take it as a loan in order to protect it from being lost, and he would pay its zakah from their wealth.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الوصايا / 12677