Is this what you're referring to Germansheperdsmum?
Section 58 of the Offences Against the Person Act 1861, entitled 'administering drugs or using instruments to procure abortion.
Every woman, being with child, who, with intent to procure her own miscarriage, shall unlawfully administer to herself any poison or other noxious thing, or shall unlawfully use any instrument or other means whatsoever with the like intent, and whosoever, with intent to procure the miscarriage of any woman, whether she be or be not with child, shall unlawfully administer to her or cause to be taken by her any poison or other noxious thing, or shall unlawfully use any instrument or other means whatsoever with the like intent, shall be guilty of felony, and being convicted thereof shall be liable to be kept in penal servitude for life'