The Indiana legislature on Friday passed a ban on abortion in the state, allowing exceptions only for rape and incest.