My client's father endowed a parcel of farmable land and stipulated that its proceeds be directed towards the family mosque to cover any expenses and repairs and the wages of the mosque imam. The land is to be cultivated by the endowment's administrator, my client's husband. The mosque later came under the administration and supervision of the Ministry of Religious Trust. Since the family is wealthy and capable of covering any expenses needed by the mosque, is it permissible to direct the proceeds of the land to any charity or orphanage?