بسم الله الرحمن الرحيم
Interest money should be given in charity to the poor and needy ones without intention of reward whether the interest money is earned from the bank account of a mosque.
Allah knows Best!
Darul Uloom Deoband
This answer was collected from the official ifta website of Darul Uloom Deoband in India.