To find this, first calculate the costs basis, add the total of your non-deductible IRA contributions and any after-tax money rolled in from retirement plans, then divide that sum by the totalamount of money in all of your IRAs at the end of the year.
It thus needs to be financed from the money of Zakah, the amount of which is to be decided based on the totalsum of the charity, the requirements of Jihad as well as the degree of the need of other potential recipients of charity.