Will the accumulated funds for waqf generate any earnings or interest?

Will the accumulated funds for waqf generate any earnings or interest?

The waqf funds are only collected or deposited in banks that comply with Sharia principles, hence no profit or interest is gained.