Neither the treasurer nor any other officer of the city of Chicago having public funds in his possession or custody shall be entitled to the interest accruing thereon or any part thereof, but such interest shall inure to the benefit of such city and be paid into its treasury.
65 ILCS 20/21-8