The Medicines and Healthcare products Regulatory Agency (MHRA) said two batches of Ventolin Syrup sugar-free 2mg in 5ml supplied by Glaxo Wellcome UK Ltd have been recalled.
A total of 1375 amber glass bottles with batch numbers M005 or M006 had been dispensed to pharmacies.
MHRA said the chances of a bottle having a defect which could mean it potentially contained glass were less than one in 1000.
The agency advised patients to check the batch numbers of these medicines and only return any affected bottles to their pharmacies, where they will be replaced.
Ventolin Syrup is a prescription-only medicine used to treat asthma for adults and children.
There had been no adverse reactions reported to the firm relating to this issue, the MHRA said. Adam Burgess, head of defective medicines at MHRA's report centre, said: "There is a very low risk of glass particles being contained in bottles of Ventolin Syrup but patients who have been prescribed this product should check the batch numbers.
"If a patient has taken medicine from any of the affected batches and has any concerns then they should speak to their doctor. If patients have any bottles of the affected two batches then they should seek medical advice first and return the bottle to their pharmacy who will give them a replacement."