Various

Those who believe and do good are not blamed for what they consumed before, so long as they remain mindful, believe, and act righteously.

5:93There shall be no sin (imputed) unto those who believe and do good works for what they may have eaten (in the past). So be mindful of your duty (to Allah), and believe, and do good works; and again: be mindful of your duty, and believe; and once again: be mindful of your duty, and do right. Allah loveth the good.