You have to be 18 years of age to smoke in both Spain and the UK. At her age, she would need to find a shop willing to sell them to her first. And even if she does manage to acquire cigarettes, minors (under 18s) are not permitted to bring any back into the country.