Members of a waqf receiving payouts
Q: A waqf is created with the understanding that it collects monies from members of the waqf to pay out to members of that waqf should those members experience a loss.
Can the affected member/s receive more than what they themselves contributed? And then after receiving such, leave the membership of the waqf? Would the additional amount received be considered riba or gambling?