Spending Interest Money on the Poor
It is not permissible to deposit money in banks that deal in interest in order to obtain interest-based profits, whatever the purpose may be, because Allah the Exalted has declared interest forbidden and has announced a very severe warning against it.
The Prophet ﷺ cursed the one who consumes it, the one who feeds it to others, the one who writes it down, and the one who bears witness to it. Therefore, it is not permissible to take it with the intention of giving it in charity, because it is forbidden and impure earnings, and Allah the Exalted is Tayyib (pure), and He accepts nothing except what is tayyib and pure.