Al-Qasim bin Abd al-Rahman narrated that Sayyiduna Ali and Ibn Mas'ud (may Allah be pleased with them both) used to say: The one entrusted with something is not liable.
It is narrated from Shurayh (may Allah have mercy on him): There is no liability on the depositary who is not treacherous.
A hadith with a connected chain has been narrated on this, with a weak chain.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الوديعة / 12699